title: Node.js and Socket.io in Phaser.js not connecting socket.io/?EIO=3&transport=polling
body: <p>I am able to run my node.js server, my phaser.js game runs but I get no 'connected' console.log when the game runs.  I instead get this error message from the client end:</p>
  
  <p><a href="https://i.stack.imgur.com/BzhkL.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>socket.io-1.4.5.js:1 GET <a href="http://192.168.128.184:8080/socket.io/?EIO=3&amp;transport=polling&amp;t=LdMR6Ro" rel="nofollow noreferrer">http://192.168.128.184:8080/socket.io/?EIO=3&amp;transport=polling&amp;t=LdMR6Ro</a> net::ERR_CONNECTION_REFUSED</p>
  
  <p>SERVER:</p>
  
  <pre><code>var serverPort = 8080;
  
  console.log("Initializing Server.");
  
  var express = require('express');
  var connect = require('connect');
  var app = express();
  var serv = require('http').Server(app);  //.createServer(app);
  var io = require('socket.io').listen(serv);  //(serv,{});
  
  console.log("Starting Server.");
  
  var serveStatic = require('serve-static');
  connect().use(serveStatic(__dirname)).listen(serverPort, function(){
      console.log('Server running on ' + serverPort + ' !');
  });
  
  app.get('/',function(req, res) {
      res.sendFile(__dirname + '/index.html');
  });
  
  serv.listen(8081);
  
  var SOCKET_LIST = {};
  io.on('connection',function(socket){  
      console.log("A user is connected");
  });
  
  io.sockets.on('connection', function(socket){
      console.log('Socket connection');
  });
  </code></pre>
  
  <p>CLIENT</p>
  
  <pre><code>var local = "http://" + document.location.host + ":8081";
          var socket = io().connect(local);
  </code></pre>