The localhost is the standard hostname given to the address of the
loopback network interface. The IP address of the localhost is
127.0.0.1. The packets, destined to the localhost address, are
routed back internally by the IP layer of the TCPnet
system.
Using the loopback interface is useful for testing software, since
it bypasses local network interface hardware. Connecting to locally
hosted network services using loopback addresses puts less of a load
on network resources.
You can use the local host IP address to communicate between
different applications using the socket interface on the same
system, for example between a FTP server and FTP client. The FTP
client connects to FTP server and manage files on FTP server using
the localhost address. Of course the files are manipulated locally on
the same system. No IP packets actually appear on any of the hardware
interfaces.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.