In the field of the Data-processing networks, localhost (the local host in English) is a name used to refer to the local Ordinateur.
One makes use of it to communicate with our machine via the protocol IP. The name localhost is associated with the Adresse IPv4 127.0.0.1 and with the Adresse IPv6 :: 1 (subject to the availability of one or the other of the versions of protocol IP).
In practiceIf I am in front of a machine having a functional pile TCP/IP I can use localhost , even if this one is connected to no physical network. For example, to know if the pile TCP/IP functions my machine of course, I can use the order Ping on localhost .
That gives for example with IPv4:
- Is still with IPv6:
- Address IP
- Resolution of names
- Orders Unix