简体   繁体   中英

REST API Client in Tomcat returning ConnectionTimedOut

In the client environment tomcat is running as a service with logon account as Local System Account. I have deployed a java based REST API client application in that tomcat. Every time the client is running its not able to set up connection with the destination.

In the client environment tomcat is running as a service with logon account as Local System Account. I have deployed a java based REST API client application in that tomcat. Every time the client is running its not able to set up connection with the destination.

There is absolutely no issue with the destination endpoint and the java code, as in other environments, that client is running fine in the tomcat.

Error that we are seeing is -- ConnectionTimeOut.

Account that the tomcat is running under in the client environment is -- Local System Account.

This is a huge road blocker and if anybody can provide guidance will be extremely helpful.

Error that we are seeing is -- ConnectionTimeOut.

Definitely it might be firewall issue. Your client is not able to connect to server, where your service is running. You need to ping from client machine to server where service is running. That will tells you whether Connectivity established or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM