【产品名称】:多商户 /知识付费/ PHP版
【产品版本】:例:v2.1.0
【部署方式】:例: linux宝塔面板 / phpstudy / docker
【部署环境】:例:本地环境 / 线上环境
【php版本】:例:7.3
【Mysql版本】:例:5.7
【使用终端】:例:小程序/ H5 / PC / 后台
宝塔面板显示网站运行中
Chrome浏览器访问网站报错502nginx
网站报错日志
2023/05/06 16:33:11 [error] 3191#0: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 222.87.165.5, server: www.gzqzg.cn, request: "GET /favicon.ico HTTP/2.0", upstream: "http://127.0.0.1:8324/favicon.ico", host: "pc.gzqzg.cn", referrer: "https://pc.gzqzg.cn/admin"
2023/05/06 16:33:11 [error] 3191#0: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 222.87.165.5, server: www.gzqzg.cn, request: "GET /admin HTTP/2.0", upstream: "http://127.0.0.1:8324/admin", host: "pc.gzqzg.cn"
2023/05/06 16:33:11 [error] 3191#0: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 222.87.165.5, server: www.gzqzg.cn, request: "GET /favicon.ico HTTP/2.0", upstream: "http://127.0.0.1:8324/favicon.ico", host: "pc.gzqzg.cn", referrer: "https://pc.gzqzg.cn/admin"
2023/05/06 16:33:12 [error] 3191#0: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 222.87.165.5, server: www.gzqzg.cn, request: "GET /admin HTTP/2.0", upstream: "http://127.0.0.1:8324/admin", host: "pc.gzqzg.cn"
2023/05/06 16:33:12 [error] 3191#0: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 222.87.165.5, server: www.gzqzg.cn, request: "GET /favicon.ico HTTP/2.0", upstream: "http://127.0.0.1:8324/favicon.ico", host: "pc.gzqzg.cn", referrer: "https://pc.gzqzg.cn/admin"
终端测试地址是这样:
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused