I use a proxy named Freegate and it uses 127.0.0.1 by using netstat only connections that I see are like this
TCP 127.0.0.1:8580 127.0.0.1:59118 ESTABLISHED
TCP 127.0.0.1:8580 127.0.0.1:59120 ESTABLISHED
As an example here is a connection between the socket 127.0.0.1:8580
to 127.0.0.1:59118
.
To see the actual remote IP I had to use Resource Monitor on Windows.
When I used the Resource Monitor I saw some remote IPs that this app uses.
My questions are:
- Why this app or apps like this one use 127.0.0.1 instead of using the remote IP directly?
- How the internals of such apps work?
I mean when I used Netstat command in Windows the only thing that I get was connections between two sockets with the IP address of 127.0.0.1, I don't know how to interpret this from a technical point of view. If you have any resource that could explain the technique that is used here or the keywords to search please let me know.