Not able to connect from loadbalancer to a droplet

May 3, 2019 117 views
DigitalOcean

I have a load balancer(174.138.122.79) which is SSL enabled and wants to point to one of the droplet having a rest service (139.59.69.79) with nginx.

174.138.122.79--------------->139.59.69.79(with nginx for 80 to 8080 routing).

I can access the app directly on http://139.59.69.79 and it works fine, but not able to connect via load balancer(443->80 configured).

However, if i make the app run on port say 1134 and enable ufw for that port i can connect from load balancer(443-1134) too.

can you help me solve this?

Be the first one to answer this question.