connect() failed (111: Connection refused) while c
程序员文章站
2022-06-14 22:49:08
...
有时候nginx运行很正常,但是会发现错误日志中依旧有报错connect() failed (111: Connection refused) while connecting to upstream.一般情况下我们的upstream都是fastcgi://127.0.0.1:9000. 造成这个问题的原因大致有两个1. php-fpm没有运行执行如下命令查
有时候nginx运行很正常,但是会发现错误日志中依旧有报错connect() failed (111: Connection refused) while connecting to upstream. 一般情况下我们的upstream都是fastcgi://127.0.0.1:9000. 造成这个问题的原因大致有两个 1. php-fpm没有运行 执行如下命令查看是否启动了php-fpm,如果没有则启动你的php-fpm即可
netstat -ant | grep 90002. php-fpm队列满了
php-fpm.conf配置文件pm.max_children修改大一点,重启php-fpm并观察日志情况
原文地址:connect() failed (111: Connection refused) while c, 感谢原作者分享。
下一篇: 甲骨文未来发展战略:数据库成云服务
推荐阅读
-
docker ngnix容器代理本地服务:*1 connect() failed (111: Connection refused) while connecting to upstream
-
connect() failed (111: Connection refused) while c
-
遇到问题----connect() failed (111: Connection refused) while connecting to upstream解决
-
Nginx排错:Nginx日志报错connect() failed (110: Connection timed out) while connecting to upstream
-
nginx下无法打开php,报错[error] 5040#0: 1 connect failed 111: Connection ref
-
connect() failed (111: Connection refused) while c
-
Nginx报错 connect() failed (111: Connection refused) while connecting to upstream 的解决方法,nginxupstream_PHP教程
-
在mac上“curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused”-安装NVM
-
(转)解决git下载出现:Failed to connect to 127.0.0.1 port 1080: Connection refused
-
遇到问题----connect() failed (111: Connection refused) while connecting to upstream解决