This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.