DE EN IT

~/errors / nginx

nginx: connect() failed (111: connection refused) to upstream

nginx reaches the backend host, but nothing listens on the target port. The OS refuses the connection immediately and the user sees 502 Bad Gateway.

New articles by e-mail

One e-mail per new article. No tracking, unsubscribe any time. As a thank-you after confirming: my “Server operations & patching” checklist (PDF).