Networking – What is a Loopback Address (127.0.0.1)?

ipnetworking

What is a loop-back address? 127.0.0.1 is a loop-back address, but what does this even mean? Please be very descriptive and give an example, as I'm having a hard-time understanding this.

Best Answer

The Wikipedia article on loopback puts it better than I could:

The term loopback (sometimes spelled loop-back) is generally used to describe methods or procedures of routing electronic signals, digital data streams, or other flows of items, from their originating facility quickly back to the same source entity without intentional processing or modification. This is primarily intended as a means of testing the transmission or transportation infrastructure.

In terms of IP addresses this means that any communications to that address effectively never leave or perhaps never actually enter your network interface card so that you always have a "connection".

This allows you to test client/server software (for example) with both parts running on the same machine.

Related Question