[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

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Lim Sing
Lim Sing

No responses yet

Write a response