Localhost
lastmod 2026-03-02created 2025-04-123 edits
localhost is the loopback address used in computer networks, meaning one's own computer. In other words, it is "an internet address assigned as if virtually connected to the internet" in order to test a computer's networking functions. In IPv4 the IP address is 127.0.0.1, and in IPv6 it is converted to ::1 (short for 0:0:0:0:0:0:0:1).
Because it lets the local computer communicate as if it were a remote computer, it is mainly used for testing.
Simplifying web app addresses with the localhost domain
- Example: 127.0.0.1 inclouds.localhost
See also
- IP
- hostname
- localias - custom local domain aliases for local development servers
- portless - a tool that replaces port numbers with name-based .localhost URLs