I am running XAMPP on Windows to host an Apache server on port 80. Now I\'m trying to have a NodeJS script running in the background but the problem is that it can only list
Just change your node.js server port something like:
var server = app.listen(8080, function() { console.log('Ready on port %d', server.address().port); });
where 8080 is node.js server' new port.