Running a Node.js Server Forever


To run node js on server forever
Follow these steps
1) install forever lib
"npm install forever -g "
Now to start server  type in cmd file where your node module is :
2) forever start filename

To stop your server for any work Type:
3) forever stop filename



Comments