title: Can WebSockets (or AJAX long-polling, etc.) run on a different port than the original HTTP request?
body: <p>I want to write an application that uses WebSockets with node.js and socket.io in combination with Django and will be sharing data through Redis (lots of buzzwords in that sentence!).</p>
  
  <p>If I run node on a different port (e.g., 5555), will I be able to connect to it with a WebSocket (or fallback method with <a href="http://socket.io/">socket.io</a>, like long-polling, etc.) or will the <a href="http://en.wikipedia.org/wiki/Same_origin_policy">same origin policy</a> give me problems?</p>
  
  <p>If so, how can I get around them?</p>