Reputation: 8424
So I downloaded this library: http://code.google.com/p/phpwebsocket/ and uploaded the example exactly as it is to my server. I ran it with chrome and got WebSocket - status 0
for a long time, and after that Disconnected - status 2
. I checked and my server DOES support sockets. You can see the source code in the link to the library, and here is where I uploaded this to: http://tamir.netspot.co.il/websocket/. So can anyone help me figure out what the problem is?
Upvotes: 2
Views: 845
Reputation: 3145
I had the same problem.
On the server php script make sure you are using the host tamir.netspot.co.il and not localhost
Upvotes: 1