Does anyone happen to know of any live WebSocket servers which are accessible over the internet and listen on the standard ports (i.e. 80, and 443). Anything will do - an echo server, for instance.
Thanks
The WebSocket is closed before the connection is established error message indicates that some client code, or other mechanism, has closed the websocket connection before the connection was fully established.
Typically, HTTP/1.1 infrastructure closes idle connections after 30 to 120 seconds. As a consequence, proxies may terminate WebSocket connections prematurely when no message was exchanged in 30 seconds.
WebSockets are used for real-time communication between the browser and a server. These communications are bi-directional. Therefore it fits low latency applications such as chat, real-time multiplayer gaming, in-app notifications.
Update: Kaazing/Tenefit appears to no longer be hosting the WebSocket echo server at websocket.org. An alternative echo server is available at ws.ifelse.io
instead (running https://github.com/jmalloc/echo-server and hosted by Mark Thomas)
Your best bet is going to be Kaazing's websockets echo server: http://websockets.org/echo.html. It's easy to remember, they keep it up to date and running.
ws://echo.websocket.org
(port 80)wss://echo.websocket.org
(port 443)EDIT: If you want to use wss://
(443) visit the site with https://
or else use http://
for ws://
(80).
EDIT: WebSocket.org is dead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With