본문 바로가기

Computer Science/Haproxy

Centos7 haproxy cannot bind socket




80 port가 아닌 port로 bind시에 


'cannot bind 0.0.0.0:xxxx' 이런 에러가 발생하였다.


온갖 구글링 끝에 해결법 찾음.


setsebool -P haproxy_connect_any=1


이거 한줄이면 해결.