How I can fix error nginx: connect() failed (111: Connection refused) while connecting to upstream

On CentOS 7 this file was at /etc/php-fpm.d/www.conf for me and I had to add listen = 9000 and comment out listen = /var/run/php-fpm/php-fpm.sock. 
 
listen = /var/run/php-fpm/php-fpm.sock
listen = 9000
and then ,typed commands
 
systemctl restart php-fpm.service
1
Donate 06-09-18

0 comments

If you wanna get more accurate answers,Please Login or Register