I just installed node.js on Windows. I have this simple code which does not run:
I get: Error: listen EADDRINUSE
Is there a config file that
I usually manually set the port that I am listening on in the app.js file (assuming you are using express.js
app.js
express.js
var server = app.listen(8080, function() { console.log('Ready on port %d', server.address().port); });
This will log Ready on port 8080 to your console.
Ready on port 8080