Question
why is my site saying "connection refused" ??
hello, me and some friends are making a site for csgo ,
but it’s not working.. If you look in the site console you will see that it says
“connection refused” and then my VPS ip, what should i do?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
First, I would make sure that the web server on your droplet is running by attempting to reach the IP address directly in your browser.
I would also recommend checking your web server’s log files:
For apache on ubuntu this would be in /var/log/apache2/
For nginx on ubuntu this would be /var/log/nginx/
If you can provide some additional details on what software you are running and any error messages being recorded we’ll best be able to help you resolve this.
Hi i am also facing the same error
Please find the logs for nginx
2019/02/12 16:10:50 [error] 14191#14191: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 49.205.146.81, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:8080/”, host: “157.230.142.215”
2019/02/12 16:40:26 [error] 14191#14191: *5 connect() failed (111: Connection refused) while connecting to upstream, client: 49.205.146.81, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:8080/”, host: “157.230.142.215”
2019/02/12 16:46:41 [error] 14191#14191: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 49.205.146.81, server: _, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:8080/”, host: “157.230.142.215”
******* Item