views:

1266

answers:

5

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.

+3  A: 

Jetty (a Java servletcontainer) supports HTML5 websockets since version 7.0.1. You can find several information and blogs about it here.

BalusC
+3  A: 

http://en.wikipedia.org/wiki/Web_Sockets#Server_Implementations

I tested netty. It seems to work, but I need to play with it a little more to be sure if it's good solution.

Maciek Sawicki
The link you provided doesn't contain the section but the German page does: http://de.wikipedia.org/wiki/WebSockets#Server-Implementierungen
MKroehnert
Maciek Sawicki
A: 

You can download the newest version of the Kaazing WebSocket Server Gateway starting today from www.kaazing.com/download. Here are some of the newest features: Kaazing WebSocket Gateway Product Features:

* Ultra-high performance, full duplex bi-directional communication between browser and back-end real-time data sources and messaging servers
* Native support for HTML5 WebSocket compliant browsers, as well as emulated support for older versions of browsers including IE6, without requiring any plug-ins
* Support for all major client technology platforms, including:  JavaScript, Adobe Flash/Flex, Java Desktop, JavaFX, Java Applet, Microsoft Silverlight, and Microsoft .Net framework
* Support for a variety of protocols, including, but not limited to: STOMP, AMQP, and XMPP
* Awareness and support for communication through proxy servers
* Support for full TCP-based binary and text protocol
* Dynamic load balancing with fine-grained control
* Enterprise grade reliability and resiliency through advanced high availability and disaster recovery features
* Enhanced security and single sign-on capabilities, including built-in protocol awareness and credential injection; integration with JAAS, supporting pluggable authentication modules.
brentbucci
+1  A: 

I just tried out tornado web server and I'm really satisfied. You will easily get up and running in no time.

bennedich
+1  A: 

You can find a mod_websocket module for lighttpd here. I've tested it with lighttpd 1.4.26.

When building mod_websocket, be sure to specify the correct websocket protocol version you want to use (version -75 or -76). Starting with WebKit nightly build r59903 and Chrome 6.0.414.0 (r47952) only protocol version -76 is supported.

raffel