Wednesday, March 4, 2009 01:44 PM
My machine is behind a proxy.
I want to get the website IP address, like the IP address of www.google.com.
When I use
I get java.net.UnknownHostException: www.google.com exception. Even if I set the http proxy, I still get this exceptino.
However, I can get the content of www.google.com once I set the proxy.
Does InetAddress need different proxy?
Any other way I can get a website IP address?