# Run the following commands
$ pm2 report
===============================================================================
--- Daemon -------------------------------------------------
pm2d version : 5.4.3
node version : 20.16.0
node path : /usr/local/bin/pm2
argv : /usr/bin/node,/usr/local/lib/node_modules/pm2/lib/Daemon.js
argv0 : node
user : root
uid : 0
gid : 0
uptime : 34min
===============================================================================
--- CLI ----------------------------------------------------
local pm2 : 5.4.3
node version : 20.16.0
node path : /usr/local/bin/pm2
argv : /usr/bin/node,/usr/local/bin/pm2,report
argv0 : node
user : root
uid : 0
gid : 0
===============================================================================
--- System info --------------------------------------------
arch : x64
platform : linux
type : Linux
cpus : DO-Regular
cpus nb : 1
freemem : 179175424
totalmem : 479989760
home : /root
===============================================================================
PM2 | 2024-11-24T15:02:34: PM2 log: App [api:1] online
PM2 | 2024-11-24T15:08:06: PM2 log: Stopping app:server id:0
PM2 | 2024-11-24T15:08:06: PM2 log: App [server:0] exited with code [0] via signal [SIGINT]
PM2 | 2024-11-24T15:08:06: PM2 log: pid=5503 msg=process killed
PM2 | 2024-11-24T15:08:49: PM2 log: App [server:2] starting in -fork mode-
PM2 | 2024-11-24T15:08:50: PM2 log: App [server:2] online
PM2 | 2024-11-24T15:12:54: PM2 log: Stopping app:server id:2
PM2 | 2024-11-24T15:12:54: PM2 log: App [server:2] exited with code [0] via signal [SIGINT]
PM2 | 2024-11-24T15:12:54: PM2 log: pid=5760 msg=process killed
PM2 | 2024-11-24T15:12:54: PM2 log: App [server:2] starting in -fork mode-
PM2 | 2024-11-24T15:12:54: PM2 log: App [server:2] online
PM2 | 2024-11-24T15:14:32: PM2 log: Stopping app:server id:2
PM2 | 2024-11-24T15:14:32: PM2 log: App [server:2] exited with code [0] via signal [SIGINT]
PM2 | 2024-11-24T15:14:32: PM2 log: pid=5845 msg=process killed
PM2 | 2024-11-24T15:15:12: PM2 log: App [server:3] starting in -cluster mode-
PM2 | 2024-11-24T15:15:12: PM2 log: App [server:3] online
PM2 | 2024-11-24T15:17:15: PM2 log: Stopping app:server id:3
PM2 | 2024-11-24T15:17:15: PM2 log: App name:server id:3 disconnected
PM2 | 2024-11-24T15:17:15: PM2 log: App [server:3] exited with code [0] via signal [SIGINT]
PM2 | 2024-11-24T15:17:16: PM2 log: pid=5964 msg=process killed
App, not running
pm2 start server.mjs success and shows online, but app not running on the port 4000
Supporting information
Angular Version 19.0.0
pm2 version 5.4.3
nodejs version 20.16.0