maxdraco

Loopback (localhost)

A computer's network connection to itself, reached at the name localhost or the address 127.0.0.1.

Concept Networking

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) The number that identifies a device on a network so that traffic can be delivered to it.
  • Port (network) A number from 0 to 65535 that tells a computer which program an incoming network message is for.
  • Access point (Wi-Fi) The device that broadcasts a Wi-Fi network and connects wireless devices to the wired network.
  • ARP Address Resolution Protocol: how a device on a local network finds the hardware address that goes with an IP address.
  • Captive portal The sign-in or terms page a public Wi-Fi network shows before it lets you onto the internet.
  • Cisco US company that makes networking equipment such as switches, routers and firewalls.
  • Client (client-server) A program that connects to a server to ask it for something.
  • Cloudflare Company whose network sits in front of websites to speed them up and protect them.

Sources

  1. RFC 1122: Requirements for Internet Hosts -- Communication LayersIETFofficial healthy, checked 2026-11-15 archived copy
  2. RFC 6761: Special-Use Domain NamesIETF healthy, checked 2026-11-15 archived copy
  3. localhostWikipedia healthy, checked 2026-11-15 archived copy