How to serve NodeJS application from IIS/Windows Server Edition OS without using iisnode?

后端 未结 1 1305
情话喂你
情话喂你 2020-12-07 06:22

So, I\'ve written a NodeJS application on Windows having Server Edition OS, My application basically communicates with other Softwares installed in the same system by execut

1条回答
  •  甜味超标
    2020-12-07 07:13

    Option 1:

    1. Run your Node.js app at a local binding such as http://localhost:8080 Reference
    2. Set up IIS as reverse proxy Reference

    iisnode provides better control on application pool integration and so on, but since it is a dead project you definitely shouldn't use it any more.

    Option 2:

    Use HttpPlatformHandler to launch your Node.js app,

    
    
      
        
          
        
        
                
                    
                    
                
            
      
    
    

    Reference

    0 讨论(0)
提交回复
热议问题