title: Connection refused while trying to push to Harbor registry
body: <p>I am trying to use Harbor as a Docker registry on Ubuntu 20. I followed the official documentation. As I wanted to connect to Harbor via HTTP, I followed the instructions <a href="https://goharbor.io/docs/1.10/install-config/run-installer-script/#connect-http" rel="nofollow noreferrer">there</a>.</p>
  <p>I am still getting this kind of error:</p>
  <pre><code>$ sudo docker push harbor_example:5000/ubuntu
  Using default tag: latest
  The push refers to repository [harbor_example:5000/ubuntu]
  Get http://harbor_example:5000/v2/: dial tcp :5000: connect: connection refused
  </code></pre>
  <p>Did I miss something in the setup of Harbor and/or Docker?</p>
  <p>Best regards</p>