believe that many webmaster in the station, will be first in the local test, and the test is generally used localhost or 127.0.0.1来 access to the local environment, then the access of the localhost and 127.0.0.1 what is the difference? Which is better?
There are many people think that these two are exactly the same, and some people think that 127.0.0.1 is better because it is a local IP and does not need to be parsed from the domain name. In fact, the two are very different:
LocalHost is also called the local, the correct explanation is: the native server
127.0.0.1 the correct interpretation of the system is: Native address (native server)
Localhot (local) is not transmitted through the network card! This is important, and it is not limited by the network firewall and the NIC associated with it. Access to localhost will not be resolved to IP, will not occupy the network network resources.
And 127.0.0.1 is to be transmitted through the network card, rely on the network card, and is subject to the Internet firewall and Nic-related restrictions.
This is why sometimes using localhost can be accessed, but it is not possible to use 127.0.0.1.