connect() failed (111: Connection refused) while connecting to upstream

Jonathan Matthews contact at
Mon Dec 3 22:19:29 UTC 2012

On 3 December 2012 22:03, Gallitin <nginx-forum at> wrote:
> I run the curl command via SSH and I receive the code output from that
> file.
> I browse to the page that uses that file and receive the gateway error.

You need to show us some commands running, some output, and nginx
config - without redacted network names. This is too
annoying/confusing to help you troubleshoot without seeing exactly
what you're running exactly where.


More information about the nginx mailing list