how to make client connect to ratchet on live server?
问题 I've googled about this for so many days and till now the client (browsers) cannot connect to the server. But the server can run. I think its because its connected to itself(localhost). I did find ratchet documentation which says: If you want to open Ratchet up (not behind a proxy) set the third parameter of App to '0.0.0.0'. http://socketo.me/docs/troubleshooting so i tried this in my server.php file. (doesn't work) $server = IoServer::factory( new HttpServer( new WsServer( new Chat() ) ),