Tag

loopback

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
Jun 30, 2024 · Fundamentals

Understanding localhost and 127.0.0.1: Differences, Similarities, and IPv6 ::1

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
Understanding localhost and 127.0.0.1: Differences, Similarities, and IPv6 ::1
IT Services Circle
IT Services Circle
May 7, 2024 · Fundamentals

Understanding the Differences Between localhost and 127.0.0.1

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.1TCP/IPWeb Development
0 likes · 9 min read
Understanding the Differences Between localhost and 127.0.0.1
Java Tech Enthusiast
Java Tech Enthusiast
Apr 5, 2024 · Fundamentals

Understanding Loopback Addresses, Ping, and Why 127.0.0.1 Works Offline

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
Understanding Loopback Addresses, Ping, and Why 127.0.0.1 Works Offline
IT Services Circle
IT Services Circle
Mar 14, 2022 · Fundamentals

Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel

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.

LinuxTCP/IPeBPF
0 likes · 16 min read
Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel
IT Services Circle
IT Services Circle
Mar 6, 2022 · Fundamentals

Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel

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 IOkernel
0 likes · 15 min read
Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel
Refining Core Development Skills
Refining Core Development Skills
Jun 1, 2021 · Fundamentals

Why Accessing a Local Server via 127.0.0.1 Is Not Faster Than Using the Machine’s Own IP

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 addressLinux kernellocal routing
0 likes · 6 min read
Why Accessing a Local Server via 127.0.0.1 Is Not Faster Than Using the Machine’s Own IP
macrozheng
macrozheng
Mar 10, 2020 · Fundamentals

Understanding 0.0.0.0 vs 127.0.0.1: When to Use Each IP Address

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
Understanding 0.0.0.0 vs 127.0.0.1: When to Use Each IP Address