This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
i.e I'm able to connect to a particular URL from the browser(Ex.Internet Explorer) successfully.
But when I'm using HttpURLConnection to hit the same URL I'm getting the error as Connection timed out. The same code is successfully working in my local system but in the production system i'm getting the above error.
Please let me know what can be the issue for the same. Is there any firewall issue could be there.