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?
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
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.
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:
If it’s enabled you can open the port using this command:
Let me know how it goes.
Regards, Alex