Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Host node application in IIS? [closed]

I am developing an application in mean-stack. The only the difference is that I want to host my application in IIS rather than express.js. Is it possible or feasible to do so? What are possible advantages and disadvantages? Thanks in advance.

like image 888
Prashant Mohite Avatar asked Mar 18 '16 15:03

Prashant Mohite


People also ask

Can we host node js in IIS?

The iisnode module enables hosting of existing HTTP node. js applications with very minimal changes.

How do I run node js app forever when console is closed?

js application locally after closing the terminal or Application, to run the nodeJS application permanently. We use NPM modules such as forever or PM2 to ensure that a given script runs continuously. NPM is a Default Package manager for Node.

How do I host a node JS REST API in IIS?

If you want to host node. js application, you should firstly install the node.exe and the a build of iisnode. After installed the IIS nodes, you could set up samples, from the administrative command prompt call %programfiles%\iisnode\setupsamples.


1 Answers

It seems to be possible: Hosting node.js applications in IIS on Windows. That site even mentions some benefits. To be honest, I have no first hand experience (or need) to run Node on IIS.

like image 53
Maurits Rijk Avatar answered Oct 17 '22 22:10

Maurits Rijk