Question

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

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?

Subscribe
Share

Did you check the internal firewall? Something like ufw or IPTables might be blocking it… Maybe post some more information, like logs, netstat or lsof

Additionally, even if I wanted to kill the process on port 8000 it keeps restarting it somehow.

Thanks. This site says the port is closed for anything I try. Including my localhost.

In my droplet, running lsof -i:8000 shows the port is running something on Node, but no luck in getting it to pop up…


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!