容器部署后注册登录程序404

提问 2 360
maloulou
maloulou LV1 2023年5月15日 20:40 编辑
<h3><span style="font-weight: bold;">报错日志</span>&nbsp;</h3><h3>2022/11/18 02:09:18 [error] 21#21: *4 connect() failed (111: Connection refused) while connecting to upstream, client: 116.237.89.12, server: liuma_server, request: "POST /autotest/login HTTP/1.1", upstream: "http://172.18.0.3:8080/autotest/login", host: "124.220.122.125:90", referrer: "http://124.220.122.125:90/"&nbsp;</h3><h3>2022/11/18 02:09:18 [error] 21#21: *4 open() "/etc/nginx/html/50x.html" failed (2: No such file or directory), client: 116.237.89.12, server: liuma_server, request: "POST /autotest/login HTTP/1.1", upstream: "http://172.18.0.3:8080/autotest/login", host: "124.220.122.125:90", referrer: "http://124.220.122.125:90/"&nbsp;</h3><p><img src="http://www.liumatest.cn/community/editor-md-upload/cce7bc2f9c014215a25c86b76d965baa.jpg" style="max-width:100%;"><br></p><h3><img src="http://www.liumatest.cn/community/editor-md-upload/d14edbd5a90d47e1a168695787146996.jpg" style="max-width:100%;"><br></h3><p><br></p>
收藏(0)  分享
相关标签: 提问
注意:本文归作者所有,未经作者允许,不得转载
2个回复
  • Chras-fu
    2023年5月14日 12:01
    这种情况一般是容器部署的时候你的后端没有启动起来,验证方式你可以访问你的ip:8100看下是否有响应,使用docker ps命令查看会看到java容器一直在重启。解决办法请参考部署手册后面的常见问题java容器启动失败的解决方案
    0 0
  • illi
    2023年5月14日 12:01
    你好,我也遇到同样的问题,请问最后问题解决了没有
    0 0