localhost

Chris Jones jonesc at hep.phy.cam.ac.uk
Sat Feb 9 15:55:40 UTC 2008


Karl Larsen wrote:
>     In Red Hat there is a special Internet system based on the 10.0.0.0 
> ip numbers and it was defined in /etc/host.conf as I recall.

Not sure where you got that IP from. localhost is normally the loop-back 
address 127.0.0.1 (with IPv4 at least).

http://en.wikipedia.org/wiki/Localhost

>     I tried to apt-get install squid and it could not find the 
> localhost. Where does Ubuntu put localhost?

localhost is fine here.

chris ~ > ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.044 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.039 ms

etc.

What exactly is your problem ? Post the actually errors you get.

Chris





More information about the ubuntu-users mailing list