PM2 (Node.js) not listening on specific port for Expressjs app/api
I spent good amount of time last week to figure out how to make Expressjs app to listen on a specific port (say, 3005) for one of the projects. Regular PM2 setup involves creating a new config block in the ecosystem file. This works for regular nodejs app, however, if your APIs are using expressjs …
Continue reading “PM2 (Node.js) not listening on specific port for Expressjs app/api”