I've searched on other questions in here about this error but I couldn't find a solution.
Yesterday I deployed a Node + Express + Socket.IO website to Azure, and it doesn't work. I get the error
Application has thrown an uncaught exception and is terminated: Error: listen EACCES 0.0.0.0:80
in this code:
// more code ...
var app = express();
var server = require('http').Server(app);
var io = require('socket.io')(server);
// right here
server.listen(portNumber, function () {
console.log('Server listening at port %d', portNumber);
});
// more code ...
It looks as if another process is already listening on this port.. maybe IIS Server? I'm not sure.