Fortune Telling Collection - Zodiac Guide - What is the ip address of 127.0.0. 1?

What is the ip address of 127.0.0. 1?

IP address in the host IP stack.

127.0.0. 1 is the IP address inside the host IP stack, that is, the loopback address. The loopback interface is a logical interface that can only be accessed by programs running on the local host.

It is mainly used for network software testing and interprocess communication between local computers. No matter what program, once the loopback address is used to send data, the protocol software returns immediately without any network transmission.

In fact, most systems use localhost as an alias for 127.0.0. 1

Extended data:

The response from 127.0.0. 1 indicates that the ip configuration of the host is correct. This response comes from the network layer. But this response does not mean that the address, mask and gateway are configured correctly. Nor can it explain any state of the lower layers in the network protocol family. This method only tests the ip connectivity of the network layer.

Can PING 127.0.0. 1, indicating that there is no problem with the installation of the network card and IP protocol of this machine; Another function is that some server/client applications need to call resources on the server at runtime, and generally need to specify the IP address of the server;

However, when the program is to run on the same machine and there is no other server, the resources of the server can be installed on this machine, and the IP address of the server can also be set to 127.0.0. 1.

Baidu Encyclopedia-Return Address