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 isnt working

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


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

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.

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