nginx+tomcat 集群搭建
但是每天7,8点老是开始出现502 bad Gateway。
能否有人帮我分析下各种情况发生的原因?
error.log记录
2014/10/07 07:59:47 [error] 7783#0:
*90920 connect() failed (111: Connection refused) while connecting to upstream, client: 124.133.28.7, server: xx.com, request: "GET / HTTP/1.1", upstream: "http://127.0.1.1:8888/", host: "xx.com"
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
可能是tomcat服务器出问题或者代码有BUG
看看tomcat的log,可能会有相关信息
tomcat 服务器不可访问的时候,ngnix会报502