[SOLVED]pm2 status online but not working — 503 Service Unavailable Error
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:
- 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