Problems starting application with PM2

Linode Staff

I am currently having issues with PM2 and am unable to start my Node.JS application. Whenever I try and start the app by running sudo pm2 start index.js I receive an error that tells me "socket.io is not running"

1 Reply

I'm not familiar with PM2 but I would start by checking the PM2 error logs to see if you can find some additional information that would help identify what is causing this issue.

If you have any other information or track down any error messages please attach them to this post so anyone that jumps in can get a full grasp on the issue and help find a solution.

- https://pm2.io/docs/runtime/guide/log-management/
- https://stackoverflow.com/questions/42574145/socket-io-connection-not-working

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct