Hi Ifran. Am 15.02.2018 um 14:17 schrieb Irfan Sayed: > Hello, > I m newbie to the HAproxy and trying to set that as API gateway for the > micro-services. > following is the haproxy.cfg > > ################################## > > global > log 127.0.0.1 local2 > chroot /var/lib/haproxy
Do you have also the error When you comment this in? Just a test. > pidfile /var/run/haproxy.pid > maxconn 4000 > user root > group root > daemon [snipp] > haproxy service is up and running. however, fronend is not able to > communicate with backend candidate service ... in the haproxy stats , it > says following error : > > _ > Layer4 connection problem: General socket error (Permission denied) > _ This is the error from haproxy or from spring boot? Please can you also show us the output of haproxy -vv , thanks, > Indeed the candidate is a springboot micro-service and is running on > tomcat port 8099 , but still front end and backend communication is not > happening . i m not sure , whetaher the haproxy configuration is the > problem OR anywhere else ... > > please help. i m stuck up like anything What's the output of curl -v --max-time 5 127.0.0.1:8099 > Regards, > irfan Regards Aleks