titanium-web-proxy
titanium-web-proxy copied to clipboard
Getting the remote server ip
Is there a way to get the remote server's ip address? E.g. google.com => 64.233.177.100
Thank you
Well, how does a system connect to "google.com" ? Actually by doing a DNS resolution and getting it's 'physical' address, which is the IP address. If there can't be any IP found, no connection is made - that's how the internet works. Of course, when you are using forward proxies, probably including proxying of DNS, then you won't know what the endpoint will be. Different DNS-servers and (in case of DNS like 8.8.8.8) - also your geolocation affects the resolution. And due to the fact, that there is even more proxyfication included, which is probably also outside your scope (in case it's external proxies not under your control).
In a strict way
I know how the internet works. My question was if Titanium.WebProxy provided this as part of the request object.