Report this

What is the reason for this report?

Website not working (ssh & ping does work)

Posted on April 25, 2018

Today I set up my site (via this tutorial). At first it was working, but now when I browse to my wesite it doesn’t work anymore.

However, I am able to connect to the IP address (or via the domain), and I can ping to it. Also I know that my node.js is running and so is my NginX, because when I curl at localhost:8080 via ssh I get the proper response.



This textbox defaults to using Markdown to format your 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.

Are you certain that nginx is running? If you can ping, ssh and can see your site returned at port 8080 (Node’s process) but cannot load your site on the default ports 80/443 (Nginx process) I would recommend restarting nginx with:

service nginx restart

and checking your logs in /var/log/nginx/error.log to see if additional information about the issue was recorded there.

What does curl at localhost port 80 give? Any firewall? Selinux? When you say doesn’t work, what exactly happens? Times out? 404. These details will help troubleshooting.

This verifies that the server is working fine. Now your app needs to send some actual data that the browser can render such as an html markup / xml / json etc.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.