Apache Setup for Websockets

September 15, 2016 10.3k views
Ubuntu Apache

I’m not able to connect with server with websockets. I believe it may be because of Apache.
http://prntscr.com/cii0gu This is my setup. Is there anything I need to install for websockets to work on my server?

1 Answer

By default Apache does not support websockets. Websockets while using an http like handshake is a different protocol and generally when creating a web socket server you would not run it within a server like apache.

While there is not built in support, if you need Apache to handle websocket connections there is a 3rd party module designed to do just that.

Have another answer? Share your knowledge.