Search results
Results from the WOW.Com Content Network
127.0.0.1 localhost ::1 localhost The name may also be resolved by Domain Name System (DNS) servers, but there are special considerations [1] governing the use of this name: An IPv4 or IPv6 address query for the name localhost must always resolve to the respective loopback address.
127.0.0.1 localhost loopback ::1 localhost This example only contains entries for the loopback addresses of the system and their host names, a typical default content of the hosts file. The example illustrates that an IP address may have multiple host names ( localhost and loopback ), and that a host name may be mapped to both IPv4 and IPv6 IP ...
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.
::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.
RFC 6762 was authored by Apple Inc. employees Stuart Cheshire and Marc Krochmal, and Apple's Bonjour zeroconf networking software implements mDNS. [3] That service will automatically resolve the private IP addresses of link-local Macintosh computers running macOS and mobile devices running iOS if .local is appended to their hostnames.
A scheme where web server serves a default file on per-subdirectory basis has been supported as early as NCSA HTTPd 0.3beta (22 April 1993), [3] which defaults to serve index.html file in the directory.
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.
Besides the use by operating systems internally, other uses have been attributed to the address. [5] [6]A non-routable meta-address used to designate an invalid, unknown or non applicable target