tomcat失去连接
尝试各种方法均无效。包括更新tomcat的war包、重启tomcat。
应用部署在三台机器上面,全部失去连接。
在nginx上面查看日志,产生了一堆错误日志。
其中包括了
2022/08/30 00:28:27 [error] 22365#0: *614206407 connect() failed (111: Connection refused) while connecting to upstream, client: 10.13.136.141, server: localhost, request: "POST /icore-pss-svr/service//com.h...nStdSicService/Getabc HTTP/1.1", upstream: "http://10.00.000.4:8002/ixxxStdSic", host: "10.00.00.10"
2022/08/30 00:54:41 [error] 22365#0: *614210462 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.13.138.5, server: localhost, request: "POST /icore-pss-svr/xxxilService HTTP/1.1", upstream: "http://10.xx.xxx.6:8002/ixxxlService", host: "10.xx.xxx.10"
2022/08/30 00:58:30 [error] 22367#0: *614213340 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.13.138.4, server: localhost, request: "POST /icore-pss-sxxx/xxxService HTTP/1.1", upstream: "http://10.xx.xxx.6:8002/icore-pss-svxxx/xxService", host: "10.xx.xxx.10"
网上查询了下其他人的解决方法。最终服务器自己就好了。
参考
https://blog.csdn.net/weixin_44972135/article/details/92806391
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异