I run a standalone server which listens on port 5000. When I connect to it by Netcat or Telnet, the app doesn't print on terminal anything, but on the Netcat/Telnet application screen, it shows that connection has been established.
var io = require('socket.io')();
io.on('connection', function(socket){
console.log('Socket connection established');
});
io.listen(5000);
console.log('Listening to port 50000');