NGINX returning 503 responses after the connection to the upstream server is refused

Solution In Progress - Updated -

Issue

  • We are facing 503 (Service Unavailable) while accessing the URL, but its giving mentioned error:

    [error] 1183#1183: *187 connect() failed (111: Connection refused) while connecting to upstream, client: 999.999.999.999, server: 999.999.999.999, request: "GET /url HTTP/1.1", upstream: "http://999.999.999.999:9999/url", host: "999.999.999.999"
    

Environment

  • Red Hat Enterprise Linux (RHEL)
  • NGINX

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content