We use HAProxy as load balancer for regular HTTP requests. I see no reference to telnet connections in the HAProxy configuration guide: HAProxy config guide.
I was hoping to reuse HAProxy (or spin up separate instances for long lived connections) to load balance TCP clients, can this be done with HAProxy?
mode
totcp
instead ofhttp
, bind to port 23 instead of 80 and remove all http-relevant options in a config file (e.g. neo4j.com/docs/stable/ha-haproxy.html).