Pages

Saturday, August 6, 2011

Localhost Vs 127.0.0.1

Localhost
Localhost (this computer) is the standard hostname given to the address of the loopback interface of the Computer.

127.0.0.1
127.0.0.1 is a special purpose address reserved for use on each computer and is conventionally the computer's loopback address.

On modern systems, the Localhost as a hostname translates into 127.0.0.1 (IPv4 address). Generally, both Localhost and 127.0.0.1 can be used to access the local machine. However, if a Proxy Server is defined, then Localhost works fine, but 127.0.0.1 may create problems and may connect to the Proxy Server even though the option "Bypass proxy server for local addresses" is set on. By default only hostnames are checked when "Bypass proxy server for local addresses" is set on. For more information, refer http://support.microsoft.com/kb/262981

No comments: