title: Docker EXPOSE a port only to Host
body: <p>Is docker capable of exposing a port only to the host and not to the outside.</p>
  
  <p>I need to put a docker running with a mongo database, and I wanted that it was only accessible from the host, but I need to link the host port 27017.</p>
  
  <p>Is this possible, or do the only possible way is to change firewall definitions?</p>