Not able to connect from loadbalancer to a droplet

I have a load balancer( which is SSL enabled and wants to point to one of the droplet having a rest service ( with nginx.> nginx for 80 to 8080 routing).

I can access the app directly on 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?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

If I had to make a guess it maybe because you are opening an SSL connection which is encrypted and then trying to forward it to port 80, which isn’t encrypted by default.

That is perhaps why when you change to a non-default port like 1134 then it works without issue.

You may also want to double check to ensure there aren’t existing firewall rules that could be causing a conflict considering that port 80 is standard port.