iisnode is a native IIS module that allows hosting of node.js applications in IIS on Windows.
Questions tagged [iisnode]
400 questions
0
votes
0 answers
Using Node.js to run multiple instances of external application with child_process
I am running node on windows server with iisnode.
In my code I upload file and then start some external application to do conversion of this uploaded file. To do this I am using child_process.fork().
It works fine with one file. If I run two…
0
votes
1 answer
Requests with status 400 (Bad request) doesn't pipe the correct body
request 2.83.0
node 8.11
yarn 1.5.1
Operating System: Windows Server 2012 R2
We're using request to power our proxy. It works well for all requests, and we're even transferring big files (400MB), all methods work and etc.
We create our options…

petur
- 1,366
- 3
- 21
- 42
0
votes
0 answers
Cannot serve static .css file on iisnode
I cannot figure out what I am doing wrong.
Here's my directory structure:
+projectName
+node_modules
+public
+stylesheets
-style.css
+routes
-index.js
+views
+partials
-footer.hbs
-header.hbs
-index.hbs
…

mjvinti
- 1
- 3
0
votes
1 answer
Is it possible to pass node process variable to webpack builded package?
I am currently developing nodejs app which will be hosted on iis, using iisnode.
I am having such a problem, this is part of my server.js:
app.listen(process.env.PORT);
process.env.PORT is passed by IIS, so at the moment when I locally building…
0
votes
1 answer
Logging with Winston or writing to file does not work when Express first boot via IIS using IIS node
I have an Express server which is running on IIS via iisnode. At the starting point, I have included logging to file to indicate whether MongoDB has been successfully booted.
It works without issue when I try this on my development PC (without…

YYTan
- 471
- 1
- 5
- 21
0
votes
2 answers
Azure Webapp : What is the correct web.config in this case?
We are currently having some troubling in deploying a Node.js application on a Windows WebApp and we suspect that the problem is in the web.config file.
Here is Project Directory Structure:
We are using the default web.config with a few…

Loukaish
- 1
- 1
- 2
0
votes
1 answer
Azure App Service: node version in package.json do not work
in my node js web app, i use node version = 6.9.1:
"engines": {
"node": "6.9.1"
}
and when i do deployment with
git push azure master
it shows correct node is used.
...
remote: Selected node.js version 6.9.1. Use package.json file to…

Redman
- 642
- 1
- 5
- 16
0
votes
1 answer
Azure app breaks when updating Node version
I have upgraded the Node.js version to 8.8.1, and updated this in the process environmental variables, iisnode.yml, Web.config and package.json.
Nonetheless, requests going to the app now get rejected with the following error:
The iisnode module…

Boris K
- 3,442
- 9
- 48
- 87
0
votes
1 answer
Use multiple node versions with iisnode
I am using iisnode. On the same server I need to run different versions of node for different websites. I have nvm installed on the server. How do I tell iisnode which version of node I want to start for each site?

Journeyman
- 10,011
- 16
- 81
- 129
0
votes
0 answers
iisnode on azure not handling as much traffic as local
I have a nodejs webapp on azure, that I can test the code locally at 50 rps with 100 concurrent users for 10 minutes, and I receive zero errors. And each of those requests is calling the db and writing.
However when deployed on Azure, I constantly…

SuperGeek133
- 25
- 4
0
votes
1 answer
http to https using web.config appends server.js to url
I'm trying get all http traffic to redirect to https using web.config on azure. I'm using node.js stack.
I want the url to remain the same for all requests. Currently, however, it's appending server.js to the end of the route.
The problem:
Go to…

Skyler Jokiel
- 318
- 2
- 11
0
votes
0 answers
Blank page received - hosting Node + Express + Angular app on iis using iisnode
I am trying to host express nodejs app with having angular as front end on IIS 8.5 using iisnode.
I followed exactly all the steps mentioned in iisnode wiki page. I am receiving blank page every time I hit any page through url.
My express server.js…

Nehal Tanna
- 3
- 4
0
votes
1 answer
clustering node on iisnode using nodeProcessCountPerApplication
I have a web app in Azure which is using node.js and socket.io, and I decided to use the clustering supported by IISNODE, using nodeProcessCountPerApplication as below in my web.config
However, when I…

tahsintahsin
- 994
- 8
- 18
0
votes
1 answer
iisnode not starting node process
I have a very simple nodejs https server that I'm trying to get working with iisnode, but it doesn't appear that the node process is starting, so I get a 500 error when I try to navigate to it.
const express = require('express');
const app =…

incutonez
- 3,241
- 9
- 43
- 92
0
votes
1 answer
IIS Node Application won't run correctly with Web.Config?
I have a Node Application I'd like to run using IIS. The problem is my configuration file. I am using IIS 10.0 and don't know how to configure everything correctly? Whenever I include both of these rules in my Web.Config file...