Tagged articles
loopback
19 articles · Page 1 of 1
The article explains that the entire 127.0.0.0/8 block consists of loopback addresses, shows how any address like 127.0.0.2 responds to ping, and demonstrates practical uses such as isolating services on one host, simulating clusters, and the special role of 127.0.1.1 in Debian‑based systems.
127.0.0.0/8Linux networkinghosts file
0 likes · 7 min read

The article examines the design of the new BPF function bpf_sock_splice_pair for intra‑host TCP communication, explains why a single‑copy implementation is suboptimal, introduces a ring‑buffer based two‑copy approach with optional busy‑polling, and presents benchmark results showing up to 7× throughput gains over the baseline.
BPFTCPbusy polling
0 likes · 19 min read

The article explains that the entire 127.0.0.0/8 block consists of loopback addresses, shows how addresses like 127.0.0.2 and 127.0.1.1 are reachable, and demonstrates practical uses such as isolating services, simulating clusters, and the special role of 127.0.1.1 on Debian systems.
127.0.0.0/8Linux networkinghosts file
0 likes · 7 min read

The article explains that 127.0.0.1 is an IPv4 loopback address defined by the network layer, while localhost is a hostname resolved via the system's name‑resolution mechanisms, detailing their differences, IPv6 implications, practical pitfalls, and how to answer interview questions about them.
127.0.0.1IPv4IPv6
0 likes · 8 min read

This article reveals that the familiar 127.0.0.1 address is just one of over 16 million loopback IPs, explains what a loopback interface is, shows practical uses such as parallel testing, service isolation, DNS simulation, and warns about security pitfalls when misusing the 127.x.x.x range.
IP addressNetworkinglocalhost
0 likes · 12 min read

localhost is a hostname that resolves to the loopback IP 127.0.0.1 (or ::1 in IPv6), while 127.0.0.1 is the actual IPv4 loopback address; both point to the local machine, but they differ in resolution method, configuration dependence, and IPv6 representation.
127.0.0.1IPv4IPv6
0 likes · 6 min read

This article explains the nature of 127.0.0.1, localhost and 0.0.0.0, why pinging the loopback address works without a network connection, and how the operating system routes such traffic through a virtual network interface.
IP addressIPv4IPv6
0 likes · 13 min read

localhost is a local hostname that resolves to the loopback IP address 127.0.0.1, while 127.0.0.1 is the IPv4 loopback address itself; both serve the same purpose, with differences in resolution and configuration, and in IPv6 the equivalent hostname maps to ::1.
127.0.0.1IPv4IPv6
0 likes · 7 min read

The article explains that while localhost and 127.0.0.1 both point to the local machine and are often interchangeable, localhost is a hostname resolved via the hosts file, whereas 127.0.0.1 is the loopback IP address, and it also covers their IPv6 counterpart ::1, their similarities, differences, and usage scenarios.
127.0.0.1IPv4IPv6
0 likes · 6 min read

This article explains the subtle technical distinctions between the hostname localhost and the IPv4 loopback address 127.0.0.1, covering their definitions, resolution processes, performance implications, IPv6 behavior, practical usage scenarios, and recommended best practices for developers.
127.0.0.1IPv4IPv6
0 likes · 5 min read

This article explains the subtle differences between the hostname localhost and the IP address 127.0.0.1, covering their definitions, resolution processes, performance impact, IPv6 considerations, practical usage scenarios, and best‑practice recommendations for developers.
127.0.0.1IPv4IPv6
0 likes · 6 min read


21CTOJun 18, 2024 · Fundamentals
While both localhost and 127.0.0.1 point to your local machine, they differ in resolution methods, IPv4/IPv6 handling, performance nuances, and configuration flexibility, making it essential for developers to understand these subtleties for optimal testing, development, and network compatibility.
127.0.0.1IPv6Networking
0 likes · 8 min read

While localhost and 127.0.0.1 are often used interchangeably in web development, this article explains their subtle differences—including hostname versus IP address, resolution processes, performance considerations, IPv6 support, security implications, and practical usage within the TCP/IP model.
127.0.0.1Networkinglocalhost
0 likes · 9 min read

The IPv4 loopback address 127.0.0.1 (also reachable via the hostname localhost) is reserved for internal communication, so pinging it never leaves the host and works even with the network cable unplugged, while 0.0.0.0 is an unspecified address used only for binding to all interfaces and cannot be pinged.
IPIPv4IPv6
0 likes · 13 min read

This article explains why the loopback address 127.0.0.1 (and its alias localhost) can still be pinged without a network connection, describes the differences among 127.0.0.1, localhost and 0.0.0.0, and details the kernel mechanisms that handle local traffic.
0.0.0.0IP addresslocalhost
0 likes · 13 min read

This article explains in detail how Linux handles local network I/O for 127.0.0.1, comparing it with cross‑machine communication, describing the routing, device subsystem, driver code, and soft‑interrupt processing, and concluding with performance considerations and a discussion on eBPF acceleration.
LinuxNetworkingeBPF
0 likes · 16 min read

This article explains how Linux handles local network I/O for 127.0.0.1, detailing the differences from cross‑machine communication, the routing decisions, the loopback device driver, soft‑interrupt processing, and the complete kernel execution flow for both sending and receiving packets.
LinuxNetwork IONetworking
0 likes · 15 min read

Accessing a service on the same host using 127.0.0.1 offers no performance advantage over using the host’s own IP address because the Linux kernel routes both destinations through the loopback interface, as demonstrated by source‑code analysis and packet‑capture experiments.
IP addresslocal routingloopback
0 likes · 6 min read

This article explains the fundamental differences between the special IPv4 addresses 0.0.0.0 and 127.0.0.1, covering their classifications, typical usages such as default routing and loopback testing, and practical considerations for binding services in server environments.
0.0.0.0127.0.0.1IP address
0 likes · 9 min read
