Question

My droplet IP is not working and my apps shows bad gateway

Hello, i recently notice that my app goes down by showing bad gateway when i try to open them. it was fixed initially but it came up again. i checked the log from var\log\nginx and here is the error i am getting. I also noticed that my ip https://159.65.238.186/ isnt working

2021/06/15 12:02:35 [error] 1659#1659: *311 connect() failed (111: Connection refused) while connecting to upstream, client: 206.189.196.252


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.

Hi there,

It looks like that the Nginx service is unable to connect to the upstream. You need to make sure that the upstream is available. Can you share your Nginx server block here so that I could advise you further?

Reragards, Bobby