Haproxy load balancer

@Inderpreet I was marked failed as well

image

@billsackey marked Success

@Inderpreet mine failed too…Attached some screenshot for the same. Please check once.

Hi @Inderpreet please let me know if there is any mistake in above screenshots. i am not able to understand why it got failed.

Hi @Inderpreet,

(On the install/configure haproxy lab)
I interpreted the statement “must serve on default port” to mean that we needed to use port 80. I went to all of the app servers and modified them to point to port 80 and made that work. I didn’t think port 3002 was default.

Screen Shot 2020-03-19 at 9.24.35 AM

Reference: https://2886795284-80-kitek06l.environments.katacoda.com

Thanks,
Mike

hi @Inderpreet my task was marked failed, even though I completed it according to the question

Hi @Sam @myeek

Please share your email IDs.

@Narendra096

Marked it Success for you, thanks for your patience.

1 Like

email is [email protected]

thanks

Hi @Inderpreet,

Install and Configure HaProxy LBR
Mar 19, 2020 4:01:43 AM
Mar 23, 2020 4:01:43 AM
400

Thanks,
Mike

@Sam marked it Success for you, it failed due to some backend issue for you.

@myeek You changed the Apache port on each host which is incorrect as per requirements mentioned in the question, you must had to configure Haproxy to connect with all apps on whatever ports there were running on. You just had to change Haproxy port to default http port which is 80.

2 Likes

Thanks @Inderpreet .
So just to clarify, the three appservers can serve on non-default ports like 3002, etc while the haproxy itself only needed to be configured to serve using port 80.

Yes, if 3002 is the port number used by web servers. Check the config file and haproxy should use port 80

Thanks, Sam for confirming!

-Mike

Why it’s marked as failed for me , while it’s supposed to be working fine :

@osmansays Marked Success for you.

it is also marked failed for me but its working fine

@Inderpreet


My second try, still a no go! Not sure what’s wrong! I have probably the same configuration with others.

My email [email protected]

This is marked Success for you.

See the error says the port apps are using is 8086 but the port you have added in config is 8084.