Search results
Results from the WOW.Com Content Network
The myIpAddress function has often been reported to give incorrect or unusable results, e.g. 127.0.0.1, the IP address of the localhost. [5] It may help to remove on the system's host file (e.g. /etc/hosts on Linux) any lines referring to the machine host-name, while the line 127.0.0.1 localhost can, and should, stay.
The name localhost is a commonly defined hostname for the loopback interface in most TCP/IP systems, resolving to the IP addresses 127.0.0.1 in IPv4 and ::1 for IPv6.As a top-level domain, the name has traditionally been defined statically in host DNS implementations with address records (A and AAAA) pointing to the same loopback addresses.
In computer networking, localhost is a hostname that refers to the current computer used to access it. The name localhost is reserved for loopback purposes. [1] It is used to access the network services that are running on the host via the loopback network interface.
These meanings may not be consistent between operating systems. In both Windows and Linux, when selecting which of a host's IP address to use as a source IP, a program may specify INADDR_ANY (0.0.0.0). [3] [4] In Linux a program may specify 0.0.0.0 as the remote address to connect to the current host (AKA localhost). [2]
::1 / 128 – The loopback address is a unicast localhost address. This address corresponds to 127.0.0.1 / 8 in IPv4. If an application in a host sends packets to this address, the IPv6 stack loops these packets back on the same virtual interface. fe80:: / 10 – Addresses in the link-local prefix are only valid and unique on the local subnet.
This is useful for determining the efficiency of a certain route from two points in a network. In this example, it is more efficient to communicate with the computer itself through the use of address 127.0.0.1 (called localhost) than it would be through 192.168.0.100 (the IP address of the local network card).
Loopback (also written loop-back) is the routing of electronic signals or digital data streams back to their source without intentional processing or modification.It is primarily a means of testing the communications infrastructure.
Where electronic loop-backs are absent, the software usually provides the facility. For example, IP defines a local address which is a software loopback (IP-Address 127.0.0.1, usually locally mapped to name "localhost"). Many remote systems have automatic reset features to restart their remote computers.