title: how to forward docker port 2375 from virtualbox to host os windows 10
body: <p>I created a debian vm to have my docker host running on.</p>
  
  <p><strong>netstat</strong></p>
  
  <blockquote>
    <p>tcp        0      0 127.0.0.1:2375          0.0.0.0:*               LISTEN      1260/dockerd  </p>
  </blockquote>
  
  <p>After that I setup port forwarding for port <code>2375</code> as described in many online tutorials.</p>
  
  <p><a href="https://i.stack.imgur.com/51Ale.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/51Ale.png" alt="enter image description here"></a></p>
  
  <p>Next I <code>curl</code> in the cmd of my windows 10 host os.</p>
  
  <pre><code>C:\Users\me&gt;curl localhost:2375
  curl: (56) Recv failure: Connection was reset
  </code></pre>
  
  <p>Notice that connecting to the VMs SSH port is working.</p>
  
  <pre><code>C:\Users\me&gt;curl localhost:666
  SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u1
  Protocol mismatch.
  </code></pre>
  
  <p>Can anybody tell me what am I missing? Do I have to kinda <em>allow</em> port <code>2375</code> to be called from outside where the SSH port is allowed by default?</p>