title: Socket.IO on client side
body: <p>I am creating a nodejs+express+socket.io server.</p>
  
  <p>Also I created a scaffold via yeoman for my frontend app.</p>
  
  <p>The socket.io server is on port 3000 and my yeoman scaffold http server on 9000.</p>
  
  <p>I have managed to retrieve the socket.io.js from the socket.io server using </p>
  
  <pre><code>&lt;script type="text/javascript" src="http://localhost:3000/socket.io/socket.io.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>However im having this error:</p>
  
  <pre><code>GET http://localhost:9000/socket.io/?EIO=3&amp;transport=polling&amp;t=1425392110184-42 404 (Not Found) 
  </code></pre>
  
  <p>Why is the socket.io.js polling on port 9000?
  Moreover, how can I change this so that it'll poll on 3000 instead?</p>