Questions tagged [iisnode]

iisnode is a native IIS module that allows hosting of node.js applications in IIS on Windows.

Useful Links

400 questions
1
vote
0 answers

How do I use IISNode and ASP.NET side by side

I have a web app where I use Nodejs express with IISNode for most of the content and it works fine. However, I need a real-time system for some new functionality. I tried adding sockets.io and Websockets with IISnode and was a hit or miss, doesn't…
1
vote
1 answer

Safari 10 fails to load https with Node.js (iisnode) - spams requests

We have various services and APIs served via Node.js version 14 on IIS using iisnode (https://github.com/Azure/iisnode). In the last couple months we've had reports from people using Safari that they can't use some of these services. I've narrowed…
Chris
  • 31
  • 4
1
vote
0 answers

My Node JS App deployed by IIS NODE, from LAN it is not accessible

My Node App is works fine on localhost but when I try to access from LAN it is not Accessible. This app is hosted by iisnode module. To Access in local host I have add "IP site.name" in windows Hosts file. The web.config file I have shared. My…
1
vote
2 answers

iisnode - HRESULT: 0x6d - status: 500 - subStatus: 1013

I tried every solutions, but none of them worked. My nodejs website is hosted on windows IIS, with iisnode, everything was fine until today. Also there is something instresting. Lets asume that my domain is cdn1.site.com that gets this error. I…
MeTe-30
  • 2,512
  • 2
  • 21
  • 30
1
vote
1 answer

Azure App Service (Windows) - Nodejs ES Module Problems with SvelteKit app

really hoping someone can point me in the right direction with this one as i'm having no luck at all. I'm trying to host a simple nodejs sveltekit application on a Windows based azure app service, but cannot get the application to start / run. I'm…
1
vote
0 answers

NuxtJS Deploy to IIS

I am trying to deploy my NuxtJS application on a new IIS server. I have installed latest Node and IISNode. Below are my web.config and server/index.js. Site Binding is on localhost:93 but I keep getting error - 'This page isn't working' http error…
Saad Momin
  • 97
  • 1
  • 6
1
vote
1 answer

Server-sent Events not working with Window App Service in Azure

I've tried to get the following code running on a Windows App Service on Azure: const http = require('http'); const server = http.createServer((request, response) => { response.setHeader('Content-Type', 'text/event-stream'); …
1
vote
1 answer

Plesk Obsidian, IISNode and Express problem - application only works locally

I have installed a Node.JS + Expres.JS application on my server, with IISNode and Plesk Obsidian. When I surf the page in my browser I get this error: I have already checked the permissions of the respective folders and the respective "App…
1
vote
0 answers
1
vote
3 answers

Is it possible to run an Nest.js application on windows iis?

i have an Nest.js application that i want to run on windows IIS Server. I installed allready the iisnode module github.com/tjanczuk/iisnode and created a new website and application on IIS I am Able to call my Api endpoints but getting following…
dev_EEAN
  • 21
  • 1
  • 4
1
vote
0 answers

How to hide node_modules in azure web app

I'm running an azure app service that includes both a front end (Vue) and a backend service (express). I was notified that the node_modules folder containing the packages used in the backend was still browsable. Considering the security implications…
Yeseh
  • 11
  • 2
1
vote
0 answers

host nodejs chat application with iis node

I have developed a chat application with nodejs. Currently, I am using the chat server hosted from a command prompt. This chat server is not bound to any domain name. I want it to bind to a domain with IIS. I have also tried to install IIS Node but…
Poojan
  • 11
  • 2
1
vote
1 answer

High TTFB for MongoDB app hosted on IISNode on AWS

Before I begin let me note that I've already read these resources: MongoDB Cloud Deployment - High TTFB https://mongoosejs.com/docs/connections I'm running a Node.js app that connects to a Mongo database on an AWS EC2 instance. The Node.js app and…
Mr. J
  • 307
  • 2
  • 9
1
vote
1 answer

How can I get the physical path of my web application in node.js (IIS)

In asp.net, I can use Server.MapPath("~/") to get the root path of my application. Is there any environment variable I can access via process.env or any other method to get the root path in node.js? I'm using iisnode. Thanks
Arun
  • 3,036
  • 3
  • 35
  • 57
1
vote
1 answer

I have hosted my Loopback 4 application on iisnode windows web app, Getting the port from there as a pipe which Loopback 4 doesn't understand

I have hosted my loopback 4 application on iisnode windows web app, which is giving the port as pipe and in my loopback 4 application i am reading port as Process.env.PORT. And i am getting the error: Cannot start the application. RangeError…