title: Meteor and Socket IO ports
body: <p>I have included <a href="https://github.com/Akryum/meteor-socket-io" rel="nofollow noreferrer">this</a> to my project which allows to use socket io library in my project. I will post part of my code</p>
  
  <pre><code> // Start server
    try {
      server.listen(8080);
        console.log("Server is litsnening for 8080 port");
    } catch (e) {
      console.error(e);
    }
  </code></pre>
  
  <p>So as you can see my server is listeneing for 8080 port. Problem is when I star my meteor app using <code>meteor</code> command it is started on port 3000. 
  <a href="https://i.stack.imgur.com/m9ef2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m9ef2.png" alt="enter image description here"></a>
  <code>http://localhost:3000/</code> So now how can I tell client to connect at 8080 port? It would be awesome if I could use same port however this is not possible. So how server is listening for connections? 3000 or 8080 port?</p>