how to keep a node server app running on windows server
I'm working on a project and I have modified node.js' 'simple chat room'
sample application for my need, it works fine.
I have to call the server app's url (the .js file) to start it before
opening the client page in the browser, so far everything works fine. But
if the node server app goes down for any reason (server restart, iis
restart, etc), the client page returns an error .
My question is, how can I keep the node server app alive all the time even
after it interrupted. How can I do that without having a monitor or a
script which runs every x minutes.
I'm using IIS 7.5 and iisnode module.
Thanks
No comments:
Post a Comment