What are foreign IP addresses?
what it means is the other end of the network connection. If you watch a movie on Netflix, your computer makes a connection to a Netflix sever and that IP gets reported as “foreign address” in net stat.
How do I find a foreign IP address?
Execute the netstat command alone to show a relatively simple list of all active TCP connections which, for each one, will show the local IP address (your computer), the foreign IP address (the other computer or network device), along with their respective port numbers, as well as the TCP state.