Connection timed out exception, why?
- by Dheeraj Kumar Aggarwal
I am developing an application which uses embedded tomcat server 7, and deploys a web application on embedded server.
My application accesses the embedded webapp through Rest APIs, but my clients are getting Connection Timed Out exceptions and port is also not blocked. I never gets this exception when I install this application on my local machine.
Some points:
IP address is used in the host name part (They are able to access this IP address on other port)
Port is not blocked
We are using Apache HttpClient library to access the URL
Timeout interval seems not to be an issue.
What are the possible reasons for this exception Connection Timed Out? or How can I simulate this problem on my local machine?
Any pointers would be helpful.