Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node.js running under IIS6

I'm looking to run node.js under IIS6 ( corporate environment, they are dead set on staying on IIS6 ). I've seen iisnode but it requires iis7.

My question is this: Is there an ISAPI redirect that can be used to connect IIS6 with node.js?

like image 231
Kummer Wolfe Avatar asked Feb 06 '12 14:02

Kummer Wolfe


People also ask

Can I run node js on IIS?

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

Does node need IIS?

You can install Node. js on Windows, but it is its own server, so unless you're using IIS as a proxy to it, there's no need for IIS at all.

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

We actually ended up doing the reverse and put IIS behind nodejs via node-http-proxy.

There are a number of benefits to doing this. For example IIS does not support web sockets, putting nodejs in front fixes this.

The only thing that you loose from node-iis is the process management, but there are plenty of alternative ways to get your node app running reliably as a service.

like image 63
Garth Avatar answered Sep 29 '22 11:09

Garth