Search code examples
htmlwebserverwebsocket

What popular webservers have support for HTML5 WebSocket?


I would like to experiment with HTML5 WebSockets, and I am looking for a mature webserver with support for websockets. Is there a list of webservers that support websockets per default? What popular webservers has support for websockets out of the box? The server programming language doesn't matter, I know Java, PHP, Erlang, Python and more... I just want to do some small experiments.

I have looked at a few that doesn't support websockets (yet), i.e. Nginx, Apache and Mochiweb.


Solution

  • Nowadays node.js, especially in conjuction with the Socket.IO library, is a popular platform for WebSocket experiments. It's not a traditional "webserver" like Apache/nginx but it certainly offers a "server programming language" that's super easy to set up for small experiments and is possible to deploy in production too.