PM2: App status errored (EADDRINUSE / Crash Loop)

Node process managed by PM2 failed on startup due to port collision or missing .env variables.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.0.0
Identifier: PM2: App status errored (EADDRINUSE / Crash Loop) Platform: PM2 / Node.js

Interactive Diagnostic Checklist

Safe Diagnostic Command:
pm2 status && pm2 logs <app> --lines 50 --nostream

Technical Explanation

Node process managed by PM2 failed on startup due to port collision or missing .env variables. Verified resolution path: Check port bindings (`ss -tlnp`) and never run OmniSolveAtlas as a PM2 app when Nginx serves it statically.

Worked Examples

  • Read-only diagnostic command: pm2 status && pm2 logs <app> --lines 50 --nostream

Limitations & Assumptions

  • Always verify which infrastructure layer (CDN, Nginx, runtime, OS, or database) emitted the error before modifying production config.

Source References & Verification

Resource ID: err-pm2-errored-port-conflict · Independently verified: 2026-11-25

Related Resources