title: How to open port with PHP?
body: <p>Trying to test the Ratchet WS server thing: <a href="http://socketo.me/docs/hello-world" rel="nofollow">http://socketo.me/docs/hello-world</a></p>
  
  <p>I run the php script, but if I try to connect I get:</p>
  
  <pre><code>telnet localhost 24320
  Trying 127.0.0.1...
  telnet: Unable to connect to remote host: Connection refused
  </code></pre>
  
  <p>24320 is the port on which IOServer is set to run. I'm running these commands from the same computer on which the server is running</p>
  
  <p>Tried to connect with javascript too (<code>ws://mysite.com:24320</code>), but fails as well.</p>
  
  <p>Do I have to open that port or what? How can I do it?</p>