We are hosting node.js applications in IIS on Windows via IISNode, so you need to update the listening port to use "process.env.PORT" in your code.
Helloworld ex:
hello.js:
var http = require('http'); http.createServer(function(req, res) { res.writeHead(200, { 'Content-Type': 'text/plain' }); res.end('Hello, world!'); }).listen(process.env.PORT);