Faild to use reverse proxy Grafana via Nginx

Hello eveyone!

I am having some problems when using reverse proxy. It always response Unable to connect when I access from browser.

Error.log File:
connect() failed (111 connection refused) while connecting to upstream client

I need help to fix this issue.

BR.

1 Like

I’m guessing this government URL might have something to do with your troubles.

All, here is a good troubleshooting guide for NGINX:

Did you configure Grafana to run on port 8080? The default is 3000, so if your Grafana is running on the default settings the proxy line should read:

proxy_pass http://grafana.staged-by-discourse.com/

You have nginx listening to port 3000 - normal SSL listens at 443 - so not sure if you got confused on the ports, or that’s something unique to your service/gov etc.

whatever port you have Grafana served on, do a curl request to validate it’s working. Then move on to fixing nginx.

Thanks @mattabrams . I need to edit my topic but I can’t do this. Please advise.

hmmm, that’s strange. Maybe just add a new response to the thread with any news or updates :+1:

Hi @mattabrams I need to remove this topic please any support?

Thanks