In TCP/IP networks, localhost is the name used to describe the local computer address. Localhost always translates to the loopbackIP address 127.0.0.1.
See also local.