A localhost is, put plainly, the standard hostname given to the address assigned to the loopback network interface. Translated into an IP address, a localhost is always designated as 127.0.0.1. This may be overwhelming, so let's look at what these things mean.