on-internet
← Community

Where can I find the ports of all running pm2 apps?

Stack Overflow ·

I have a server with PM2 installed and 10 running node apps. Every App should run with a different port number. When I install a new App on the server I need the information about the used ports. With 'pm2 list' I get much info about the apps but not the port. pm2 list App name │ id │ version │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching example_name │ 1 │ 0.0.0 │ fork │ 25651 │ online │ 0 │ 37D │ 0% │ 386.3 MB │ root │ disabled I can not find a overview of all used ports and I can't believe that this important information is not given by PM2. Does anyone have any idea

Comments

Sign in or sign up to comment and upvote.

No comments yet.