Cannot see my website

Posted February 15, 2020 1.3k views

I made an account today, created a droplet, installed node.js on my droplet and cloned a small webapp from a github repo. My app works locally on my machine but when I run the server on Digital Ocean I see nothing on http://IP:5000/index.html which should be the address at the moment. Server seems to be running because I get no error message but I just don’t see my pages, only blank screen. Could someone point me to the right direction?

edited by alexdo

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.

Submit an Answer
2 answers

Hello, @siimsepp

Can you please double check if the port in question is open on the droplet? Looking at this it doesn’t seem like the port is open or if it’s accepting connections.

If you have UFW enabled you can easily open the port. You can check if UFW is enabled by this command:

ufw status

If it’s enabled you can open the port using this command:

ufw allow 5000

Let me know how it goes.


Thanks for the answer but this doesn’t seem to be the case. In case of wrong (not allowed) port the page behaves differently (seems to be loading but isn’t going anywhere). But I just see a blank screen and nothing loading. Most likely my server script is the problem. I tested minimal Express server and that worked. So I just have to step by step add features to it and see how it goes.