Click here to Skip to main content
15,884,099 members

Comments by Member 15818964 (Top 7 by date)

Member 15818964 8-Nov-22 9:29am View    
Thanks for the help! Wouldn't this be a console app, rather than a Windows Service? In this case, how can I guarantee that I will be able to restart node server if it crashes?

Sorry for all the questions, I'm quite new to this, so let me know if you need any clarifying!
Member 15818964 7-Nov-22 13:59pm View    
Thanks for the reply! What if we just want to start running the node server, instead of opening a web browser?
Member 15818964 7-Nov-22 8:57am View    
Yup! Thanks for clarifying! That's exactly what I meant
Member 15818964 7-Nov-22 8:45am View    
Edit: I think what I want to do is, on Windows Service start, open up a browser for a specific local host and display my Node JS app. If the app crashes (server stops, for example, 127.0.0.1/8080 no longer listening), then the service will start the server again, and open up the browser.

Sorry if it was / or still is confusing!
Member 15818964 7-Nov-22 7:59am View    
Hmm, I guess the specification is that if the server ever breaks, the windows service will see that, and start the server again. I don't think I was clear enough on it. Let me know!!