Hi Vivien,

On Thu, Feb 10, 2011 at 11:01:14AM +0100, [email protected] wrote:
> Hello,
> 
> I’am trying to perform a LoadBalancer with this huge haproxy tool.
> It works with lots of backends in a mock-up except a backend and I don’t know
> why.
> Have you got an idea about this ?
> In order to simplify the problem, in this config file below, I have only one
> backend instead of two.
> 
> •     To communicate with the backend, with a wget or a telnet, it’s works:
> 
> -bash-3.2$ telnet cppfrontendx01-i 80
> Trying 192.168.235.43...
> Connected to cppfrontendx01-i (192.168.235.43).
(...)
> -bash-3.2$ telnet 127.0.0.1 14001
> Trying 127.0.0.1...
> Connected to localhost (127.0.0.1).
(...)
> listen A233_ cppfrontendx01-i_14001 127.0.0.1:14001
>        server cppfrontendx01-i cppfrontendx01-i cookie 
> c1a7e61bae8b014bd997915dea478161

Look above, your "server" line has no port, so it will use the port
it receives the connection on. In your case, it will be 14001. Your
test shows that your server listens on port 80, so you just have to
append ":80" after "cppfrontendx01-i" and it will work.

Regards,
Willy


Reply via email to