Problems starting application with PM2
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