totaljs/framework — pull request #146 by dvarchev (2014-04-19 15:02:58+00:00)
Title: Fix init to handle correctly when socket path (string) is passed as port

server.listen has overload that takes socket path. The latest iisnode version uses it with a named pipe (i.e. \\.\pipe\{pipe-id}).

The empty visualstudio zip project needs to be changed to take the port correctly:
var port = process.env.PORT || 8000; // instead of var port = parseInt(process.env.PORT || '8000');