error : apache is not running on port 5004 on server stapp01 .
the problem is i got the haproxy up and running and balance the traffic between the app servers which i can verify by hitting the check app button but every time i get the same error
Please share your configuration. If all the app servers are configured properly then the following commands should work:
curl http://172.16.238.10:5004
curl http://172.16.238.11:5004
curl http://172.16.238.12:5004
yes when i try to : curl http://172.16.238.10:8085 i got the response from all app servers
this is my config : frontend main
bind *:80
acl url_static path_beg -i /static /images /javascript /stylesheets
acl url_static path_end -i .jpg .gif .png .css .js
use_backend static if url_static
default_backend app
#---------------------------------------------------------------------
static backend for serving up images, stylesheets and such
#---------------------------------------------------------------------
backend static
balance roundrobin
server static 127.0.0.1:4331 check
#---------------------------------------------------------------------
round robin balancing between the various backends
#---------------------------------------------------------------------
backend app
balance roundrobin
server app1 172.16.238.10:8085 check
server app2 172.16.238.11:8085 check
server app3 172.16.238.12:8085 check
and this is the screenshot when i click on staticAPP to verify the LB .
and this is the error : ```
- apache is not running on port ‘8085’ on stapp01
curl http://172.16.238.10:8085
curl http://172.16.238.11:8085
curl http://172.16.238.12:8085
Are you 100% sure all those URLs are giving the correct output - looking by what you have done it seems correct.
yes that is the prblem he is given me an error about the apache port which i m not asked to configure on app servers i just need to use it on the LB servers
I’m not sure why it is not validating. I’ve just checked the lab and it is not validating correctly. I’ll raise this with the team.
thank you , keep me updated please
The issue should be fixed now.