How do I setup websockets on apache using this tutorial?

I’m trying to use these instructions to setup a websockets connection on my localhost apache webserver and it’s not working.

I have the mod_proxy_wstunnel and mod_proxy modules turned on.

I get this error.

Uncaught DOMException: Failed to execute ‘send’ on ‘WebSocket’: Still in CONNECTING state.

WebSocket connection to ‘ws://socket.localhost/’ failed:

I’m using apache webserver, not nginx or IIS.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.