websocket firewall ok on port 80 and subpath on samedomain with haproxy

Websocket are tcp connection independant from your web server / reverseproxy. So they need another tcp port. Its an issue if you are behind a firewall allowing only port 80 and you have only one ip or domain.

But not really ! With haproxy tcp load balancer its super easy to have web socket channel on a subpath !!

var ws= new WebSocket(“ws://oneplaylist.fm/websockets”)

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *