Load-balancer related issue / question
I have a python flast app running on port :5005 on 2 servers (with nginx installed). I am trying to setup a load balancer with round-robin approach but it ends up going to “503 bad request, no servers were available”.
If I visit xx.xx.xx.xx:5005 of each server individually, I could see the app. I have redirected port 80 and 443 of load-balancer to 5005 of the droplet.
Any help would be appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×