vestacp-nodejs icon indicating copy to clipboard operation
vestacp-nodejs copied to clipboard

How to correctly start node js application?

Open jsparrow2006 opened this issue 4 years ago • 4 comments

Thanks a lot for your work. I have a question. At what point should the NodeJS.sh file run? My node js application only starts if I manually launch the .sh file. How can I debug the application startup? How to restart the application correctly?

jsparrow2006 avatar Oct 20 '20 18:10 jsparrow2006

I want to know too 👍

IRediTOTO avatar Nov 05 '20 13:11 IRediTOTO

Agradezco su gran trabajo. Ejecuté las indicaciones en mi servidor. Cuando seleccionaba NodeJS, NGINX dejaba de funcionar por más que reinicie y eso afectaba a las otras web alojadas.

OMARCITO007 avatar Nov 19 '20 14:11 OMARCITO007

You can debug by writing the following command

wget http://localhost:3000

islam-Ellithy avatar Jun 27 '21 09:06 islam-Ellithy

Check the .pm2 dir in the user folder 😉

Lucksmith369 avatar Aug 11 '21 21:08 Lucksmith369