i have setup the node project on the AWS EC@ instance.
npm start
is working. then project running on the 3000 port. but it will closing when close the terminal. then i have tried PM2.but when run using PM2 its not working. but status showing as online.
these are the command used to run PM2,
npm install pm2 -g pm2 start app.js pm2 startup pm2 save
why is that ? how can i run it?
