Question

why is my site saying "connection refused" ??

  • Posted May 26, 2016
  • VPN

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?

Subscribe
Share
First Header Second Header
Content Cell Content Cell
Content Cell Content Cell

******* Item

  • Item1. Item 1
  1. Item 2
  2. Item 31. Item 1
  3. Item 2
  4. Item 3Example link

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”

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.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

This question was answered by @ryanpq:

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.

View the original comment