How to deploy node js in windows server 2012
19,259
You have two options:
- iisnode. There are a few more configuration steps with this option, but there seems to be additional benefits.
- allow port through Windows Firewall, the post is self explanatory.
iisnode
Some resources:
- https://github.com/projectkudu/kudu/wiki/Using-a-custom-web.config-for-Node-apps
- I picked up a few pointers from Hosting Node.js Applications on Windows Server 2012, Complete with Git Deployment and Remote Debugging - Part 2
Author by
sankaran
Updated on June 25, 2022Comments
-
sankaran almost 2 years
I have a Windows 2012 server and hello world node js file (Only one js file along with Node_module folder).
Now I need to deploy it to the windows server and need to run it globally.
How to do that? Please help me!
I have read more article. But confused. I installed Node app on the server. I ran it locally. It is working. But How to do it globally. (www.xxxx.com/ABC)
-
codebot about 5 yearsHello there. May I ask, is issnode still a valid option? Because most tutorials about it are from 2011-2013. Furthermore, my node is version 8. Also, what if I install node with issnode and then want to deploy angular on that node? Thanks
-
Aaron C about 5 yearsI last tried
iisnode
with node v6.x, and it worked. iisnode is just the means by which one can host node applications on iis.