Answer the question
In order to leave comments, you need to log in
Why does haproxy crash when trying to listen on port 80?
Hello, I'm asking for help.
Faced such a problem. Created 3 machines on Ubuntu, machine 1 is haproxy.
on 2 I made simple html pages on apche with the text bc 1 - bc 2.
ip addr are
192.168.78.128 - haproxy
192.168.78.129 - bc 1
192.168.78.130 - bc 2
frontend bsz1
bind *:80
default_backend fffx
backend fffx
balance roundrobin
server server1 192.168.78.129:80 check
server server2 192.168.78.130:80 check
Answer the question
In order to leave comments, you need to log in
Maybe the config is missing mode http
Ps there is a lot of things on haproxy
Although most likely the problem is in the name of the configuration file, the correct extension is .cfg and not .txt.gz
Another option is not in the config daemon
, which tells the program to run as a service and hang in memory waiting for requests instead of a single launch
Pss learn to copy text from the console truncated logs can only confuse
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question