7

I'm trying to get react running using node.js with iisnode on iis

I've installed the latest node and the latest iisnode and used this stackoverflow as a guide but can't get past error 500. How to run Node.JS server for a web application?

any guides on how to do this on iis?

Community
  • 1
  • 1
Adam
  • 1,136
  • 8
  • 26
  • 51
  • 1
    Could you put a sample app along with the iisnode configuration somewhere on github? It may very well be an environmental issue, but looking at the code may be worth a try. – hazardous Feb 02 '17 at 11:17
  • I know this is not the answer you are looking for but, an alternative to this is to use a reverse proxy in IIS – Mathieu de Lorimier Feb 02 '17 at 12:04
  • @MathieudeLorimier could you show me how this would work – Adam Feb 02 '17 at 14:57

1 Answers1

0

This not a direct answer but rather an alternative. You could use IIS' reverse proxy plugin and just reverse proxy a VirtualServer or sub folder on a virtual server to your NodeJS server.

If you need multiple processes, you could use Node's built-in clustering

Here are two ways to proceed :

  1. Easyest way IMO
  2. Easy way
Community
  • 1
  • 1
Mathieu de Lorimier
  • 975
  • 3
  • 19
  • 32