title: nginx: connect() failed (111: Connection refused) while connecting to upstream - after update nginx -
body: <p>After update nginx to version 1.19 my web server stop to work.</p>
  <p>I am getting 502 gateway timeout error in browser when i was sending the request through browser</p>
  <p>when i checked the nginx error log, i got this error</p>
  <pre><code>2021/03/24 06:25:50 [error] 56837#56837: *7775 connect() failed (111: Connection refused) while connecting to upstream, client: 85.208.98.19, server: bienestarmutuo.org, request: &quot;GET /ten-principles-of-the-new-education/ HTTP/1.1&quot;, upstream: &quot;fastcgi://10.64.10.43:8050&quot;, host: &quot;mutualwelfare.org&quot;
  </code></pre>