Hi ,
    I am using ajaxterm service on loadbalncer where i setup haproxy and  i
want to balance this web terminal service which running on the 8022 port
when client wants to connect to the this service it has to redirect to one
of the two other server  . here is configure  file . I think somewhere is
wrong please help me  to correct this .
Thanks in advance .

#haproxy.conf

global
        log 127.0.0.1   local0
        log 127.0.0.1   local1 notice
        maxconn 4096
        chroot /var/lib/haproxy
        user haproxy
        group haproxy
        daemon
        #debug
        #quiet

defaults
        log     global
        mode    http
        option  httplog
        option  dontlognull
        option redispatch
        retries 3
        maxconn 2000
        contimeout      5000
        clitimeout      50000
        srvtimeout      50000





listen  http 198.168.2.16:8022
        mode tcp
        option tcplog
        balance roundrobin
        server web1 13.1.1.3:8022 check
        server web2 13.1.1.4:8022 check



when i started webservice on port 8022 and after that i started the haproxy
it through error is address can't bind .



Thanks
vaibhi

Reply via email to