Connection timed out exception, why?

Posted by Dheeraj Kumar Aggarwal on Server Fault See other posts from Server Fault or by Dheeraj Kumar Aggarwal
Published on 2012-06-05T09:55:41Z Indexed on 2012/06/05 10:41 UTC
Read the original article Hit count: 324

Filed under:
|

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.

© Server Fault or respective owner

Related posts about tomcat

Related posts about java