Loopback (localhost)
A computer's network connection to itself, reached at the name localhost or the address 127.0.0.1.
Loopback is a network interface that never leaves the machine: anything a program sends to it comes straight back to the same computer. It has the name localhost and the IP address 127.0.0.1 (::1 in IPv6). Developers use it to run and test network programs safely on one machine, and services that should never be reachable from outside are often set to listen only there.
See also
- IP address (IPv4/IPv6)
- Port (network)
- Access point (Wi-Fi)
- ARP
- Captive portal
- Cisco
- Client (client-server)
- Cloudflare
Sources
- RFC 1122: Requirements for Internet Hosts -- Communication LayersIETFofficial healthy, checked 2026-11-15 archived copy
- RFC 6761: Special-Use Domain NamesIETF healthy, checked 2026-11-15 archived copy
- localhostWikipedia healthy, checked 2026-11-15 archived copy