Answer the question
In order to leave comments, you need to log in
What could break in nginx?
nginx was on the working computer for about a year - everything worked, I did not know any problems.
Today I installed MongoDB, immediately after installation there were problems with the operation of this database, I tried to fix it for three hours, trying one or the other instruction on the Internet, as a result, when I opened one of the local sites, I found that it did not open:
502 Bad Gateway
nginx/1.10.3 (Ubuntu)
2018/04/24 15:16:53 [error] 6873#6873: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: site.loc, request: "GET index.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "site.loc"
nginx: configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Starting Nmap 7.01 ( https://nmap.org ) at 2018-04-24 13:36 MSK
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000078s latency).
PORT STATE SERVICE
9000/tcp closed cslistener
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question