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!
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.
Regards, Alex
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.