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.
Reference: https://2886795284-80-kitek06l.environments.katacoda.com
Thanks,
Mike
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
.
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
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
.
Hi Team/ @Inderpreet,
I have completed the HAProxy task but still getting the failure error for the task, please see the outcome
Please let me know what i have done wrong or what exactly is cause of the error.
Check in Apache config which port apps are using already. If it isn’t specifically asked in the question to change Apache port on apps we need to make sure not to change them.