I'm connecting to a url with a httpurlconnection in java 1.6
The server I connect uses DNS round robin to share load between multiple servers.
How can I get the remote ip address that I have actually connected to?
HttpURLConnection urlConn = (HttpURLConnection) url.openConnection();
//I then need something like this!
log(SUCCESS, "made connection to: " + urlConn.getRemoteIp());