title: php socket server works on localhost but not on live server
body: <p>i am using PHP WebSocket Server 0.2 (<a href="http://code.google.com/p/php-websocket-server/" rel="nofollow noreferrer">http://code.google.com/p/php-websocket-server/</a>) on my development window7 pc using wamp server WAMPServer2.0.</p>
  
  <ol>
  <li>I did not installed/activated any Apache modules.</li>
  <li>Just activated php_sockets extension for php.</li>
  </ol>
  
  <p>My socket server works fine using localhost and LAN IP address on LAN but when i implement same code on with same settings on my live server, it does not works.</p>
  
  <p>On live server</p>
  
  <ol>
  <li>after executing "php socket-server.php" there is no error.</li>
  <li>But when i try to connect to socket server using javascript, it doesn't connects.</li>
  </ol>
  
  <p>My live server is CENTOS 5.8, Apache/2.2.20, PHP/5.2.17.</p>
  
  <p>What i am doing wrong? does Apache needs some extra module?</p>
  
  <p><strong>-- EDIT --</strong></p>
  
  <p>Now after contacting support enabled port 9300, but still client cannot connect to server.</p>
  
  <p>But on the server side i have some activity, according to script the client gets disconnect as soon a its connected.</p>
  
  <p><img src="https://i.stack.imgur.com/xwATv.jpg" alt="enter image description here"></p>
  
  <p><strong>-- EDIT --</strong></p>
  
  <p>Same script is working fine in <a href="http://www.turnkeylinux.org/lampstack" rel="nofollow noreferrer">http://www.turnkeylinux.org/lampstack</a> on vmware.</p>