I am working on an application which checks the status of some other URL's. I have used HttpURLConnection to get the connection. In my local machine, i am able to hit the URL, but when the same code is deployed on unix machine, i get java.net.connectexception for the URL. Can anybody tell me the issue. I think this is not a port issue as i am able to connect to it on my local machine.