title: node.js express 4.11.2 & socket.io getting error ?EIO=3&transport=polling&t=
body: <p>here is my setup
  this works fine with express version 4.8.0 and socket.io 1.0.6
  and also express 4.8.0 and socket version 1.3.3</p>
  
  <p>so i'm assuming they've changed something in express.</p>
  
  <p>current version of express is 4.11.2
  current version of socket.io is 1.3.3</p>
  
  <p>and now i'm getting the error on the client side.</p>
  
  <pre><code>GET http://localhost/socket.io/?EIO=3&amp;transport=polling&amp;t=1423775884240-0  net::ERR_CONNECTION_REFUSED
  </code></pre>
  
  <p>i'm using socket.io namespacing</p>
  
  <pre><code>var express = require('express'),
  website = express(),
  http = require('http').Server(website),
  io = require('socket.io')(http),
  routes = require('./routes'),
  path = require('path'),
  logger = require('express-logger'),
  json = require('express-json'),
  bodyParser = require('body-parser'),
  methodOverride = require('express-method-override');
  
  
  website.set('port', process.env.PORT || 3000);
  website.set('views', path.join(__dirname, 'views'));
  website.set('view engine', 'ejs');
  website.set('socket', io);
  website.set('socketId', '1234');
  website.use(logger({path: './logs/logfile.txt'}));
  website.use(json());
  website.use(bodyParser.urlencoded({ extended: false }));
  website.use(methodOverride());
  website.use(express.static(path.join(__dirname, 'public')));
  
  
  // Setup routing
  require('./routing')(website);
  
  http.listen(website.get('port'), function(){
  console.log('Website ready, listening on port: ' + website.get('port'));
  });
  
  module.exports = website;
  </code></pre>
  
  <p>this is on my index page for the connection</p>
  
  <pre><code>var socketId = website.get('socketId');
  var io = website.get('socket').of('/' + socketId);
  </code></pre>
  
  <p>would anyone be able to tell me where i'm going wrong.
  Cheers</p>