简体   繁体   English

Tomcat 中的 REST API 客户端返回 ConnectionTimedOut

[英]REST API Client in Tomcat returning ConnectionTimedOut

In the client environment tomcat is running as a service with logon account as Local System Account.在客户端环境中 tomcat 作为服务运行,登录帐户为本地系统帐户。 I have deployed a java based REST API client application in that tomcat.我已经部署了一个基于 java 的 REST API 客户端应用程序 Z1B359D8753858B55BEFA0441 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.在客户端环境中 tomcat 作为服务运行,登录帐户为本地系统帐户。 I have deployed a java based REST API client application in that tomcat.我已经部署了一个基于 java 的 REST API 客户端应用程序 Z1B359D8753858B55BEFA0441 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.与其他环境一样,目标端点和 java 代码绝对没有问题,该客户端在 tomcat 中运行良好。

Error that we are seeing is -- ConnectionTimeOut.我们看到的错误是——ConnectionTimeOut。

Account that the tomcat is running under in the client environment is -- Local System Account. tomcat在客户端环境下运行的账户是——本地系统账户。

This is a huge road blocker and if anybody can provide guidance will be extremely helpful.这是一个巨大的障碍,如果有人可以提供指导将非常有帮助。

Error that we are seeing is -- ConnectionTimeOut.我们看到的错误是——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.您需要从客户端机器 ping 到运行服务的服务器。 That will tells you whether Connectivity established or not.这将告诉您连接是否已建立。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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