0
点赞
收藏
分享

微信扫一扫

connect() failed (111: Connection refused) while connecting to upstream, client: 221.234.185.72, se

90哦吼 2022-07-12 阅读 71

2018/04/14 14:32:36 [error] 18407#18407: *317581 connect() failed (111: Connection refused) while connecting to upstream, client: 111.214.115.172, server: , request: “GET / HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “111.78.118.132:808”

出现这个问题是因为php与nginx没有配置好,解决方法如下:

vim /etc/php/7.2/fpm/pool.d/www.conf
listen.allowed_clients = 127.0.0.1
listen = 9000
systemctl reload php7.2-fpm.service
nginx -s reload

参考链接:
​​​https://stackoverflow.com/questions/21524373/nginx-connect-failed-111-connection-refused-while-connecting-to-upstream​​


举报

相关推荐

0 条评论