Report this

What is the reason for this report?

Says Nodejs app is running but I can't see it?

Posted on August 23, 2018

I am able to successfully run this project locally. It is simply a node.js app serving a front end.

Affer SSHing into my droplet and running npm start, my logs say:

“App listening on port 8000!”

But after checking the page just grinds and nothing pops up. How can I debug this?



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.

Hello sportserh

You can check the npm status and also check if the port is open using netstat

Use the netstat command to list all open ports, including TCP and UDP, which are the most common protocols for packet transmission in the network layer.

  1. netstat -lntu

This should give you more detailed information if npm us running and listening on the port.

Regards

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.