[SOLVED]pm2 status online but not working — 503 Service Unavailable Error

Lim Sing
Mar 19, 2021

Problem:

I am trying to build an react app on Alicloud server, when I am using pm2 to restart the app, the status show ‘online’ but the site doesn’t not work.

Solved By:

  1. run command below to start the app back:
pm2 start — name <app name> npm — start

2. run the command to stop the old process:

pm2 stop id

3. run the command to delete the old process:

pm2 delete id

--

--