Question: what is local address and foreign address?
Answer: It is the IP address of the local computer (your device) and the port number being used. ... Simply speaking local address is the IP address of your device, while foreign address is the address of the device you are connected to it. The difference between 127.0. 0.1 and your local IP address can be understood by pinging.