i am trying to connect the following URL using java code but Exception in thread "main" java.net.ConnectException: Connection timed out: connect is blocking the
progress. I am able to access the URL from browser in the same machine. Attached Header information details with this post.
It's possible that Gautamaxa's browser is using a proxy server to connect to the internet. If that's the case then the Java code isn't using the proxy server and therefore can't connect to the internet at all.
If that's what is happening here, then if I'm not mistaken there are system properties which allow Java code to use a proxy server.