could not bind socket while haproxy restart
On RedHat Linux with enabled SELinux (which should be enabled), just enable the haproxy_connect_any boolean value, which allows haproxy to connect the socket to any port:
setsebool -P haproxy_connect_any on
- You aren't running as root; probably needs a
sudoin front of your command to start it on the command line if you aren't running as root (check with
- Another process, likely another instance of HAProxy, is already bound to those ports. Check with
Maybe is because of selinux I type
and solve the problem. The command is to make selinux to premissive mode. A not proper set selinux may block many service or connection.