开发者

WebSocket live server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question 开发者_如何转开发

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


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.


You can easily set one up yourself using this simple python script:

https://gist.github.com/jkp/3136208

There is a typo you have to fix: s/messsage/message/ and if you want it to listen on anything else than localhost replace "localhost" with ""


Can I ask why do you need the standard ports?

If not, you can always use my server, look at http://www.achex.ca to get more info.

Achex

P.S. I will move the server to port 80 in a month or so on address ws://ws.achex.ca

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜