title: Keep getting "socket.io/?EIO=3&transport=polling&t=Lvm1SGO" 404 errors when I deploy on server
body: <p>My app works fine on localhost but once I upload it I keep getting "socket.io/?EIO=3&amp;transport=polling&amp;t=Lvm1SGO" 404 errors that keep listing in the console.
  Sorry if this is a stupid question but I am fairly new with socket.io.
  Here is where you can inspect and see the error in action: <a href="http://95.211.186.223/projects/webrtc/work/P2PImage/" rel="nofollow noreferrer">http://95.211.186.223/projects/webrtc/work/P2PImage/</a></p>
  
  <p>My client.js file:</p>
  
  <pre><code>// this file is meant to be browserified
  var P2P = require("socket.io-p2p");
  var io = require("socket.io-client");
  var ss = require("socket.io-stream");
  var socket = io();
  var opts = {autoUpgrade: true, peerOpts: {numClients: 10}};
  var p2p = new P2P(socket, opts);
  var $ = require("jquery");
  
  p2p.on("peer-num", function(num) {
    console.log("You are peer number " + num);
    $(".peerNum").html( "Number " + num );
  });
  
  p2p.on("file", function(stream) {
    //console.log(stream);
  
    var img = document.createElement("img");
    img.src = (window.URL || window.webkitURL).createObjectURL(new Blob(stream));
    document.getElementById("receivedImages").appendChild(img);
  });
  
  $(function() {
    $("#file").change(function(e) {
      ss.forceBase64 = true;
      var file = e.target.files[0];
      var stream = ss.createStream();
  
      ss(socket).emit("file", stream, {size: file.size,name:file.name});
      var blobStream = ss.createBlobReadStream(file);
      var size = 0;
      blobStream.on("data", function(chunk) {
        size += chunk.length;
        console.log(Math.floor(size / file.size * 100) + "%");
      });
      blobStream.pipe(stream);
    });
  });
  </code></pre>
  
  <p>My server.js file:</p>
  
  <pre><code>var app = require("express")();
  var express = require("express");
  var server = require("http").Server(app);
  var p2pserver = require("socket.io-p2p-server").Server;
  var io = require("socket.io")(server);
  var ss = require("socket.io-stream");
  var path = require("path");
  
  app.use(express.static(__dirname));
  io.use(p2pserver);
  
  var peerNum = 0;
  
  
  io.on("connection", function(socket) {
  
    console.log("Peer " + peerNum + " connected");
    io.emit("peer-num", peerNum);
    peerNum++;
  
    ss(socket).on("file", function(stream, data) {
  
      var filename = path.basename(data.name);
  
      var parts = [];
  
      stream.on("data", function(data) {
        parts.push(data);
      });
  
      stream.on("end", function() {
        socket.broadcast.emit("file", parts);
      });
  
    });
  });
  
      server.listen(3000, function () {
    console.log("Listening on 3000")
  });
  </code></pre>