title: Docker: Issue with pulling from a private registry from another server
body: <p>I just started learning docker. </p>
  
  <p>I have a private registry running on one server(server1), and can pull a test image from it on server1 by typing the following:</p>
  
  <pre><code>docker pull 127.0.0.1:5000/test
  </code></pre>
  
  <p>However, when I type the above command from another server, I get the error message below:</p>
  
  <pre><code>Error: Invalid Registry endpoint: Get http://127.0.0.1:5000/v1/_ping: dial tcp 127.0.0.1:5000: connection refused
  </code></pre>
  
  <p>Am I missing something in configuration?</p>
  
  <p>Any help is appreciated.</p>
  
  <p>Thanks!</p>