title: docker-machine: Can't access container's web server from host
body: <p>I just installed Docker with Docker-Toolbox on my Mac using homebrew: <a href="https://stackoverflow.com/questions/32744780/install-docker-toolbox-on-a-mac-via-command-line">install docker with homebrew</a></p>
  <p>After creating and configuring a Container with Rails, Postgres and starting docker-compose up everything looks fine but i can't access the webserver from host.</p>
  <p>The output of</p>
  <pre><code>$ docker-compose up
  
  dummy_1    | I, [2016-03-30T14:55:53.130639 #6]  INFO -- : listening on addr=0.0.0.0:8000 fd=10
  </code></pre>
  <p>When i type in Google Chrome the url <a href="http://0.0.0.0:8000/" rel="noreferrer">http://0.0.0.0:8000/</a> i get</p>
  <pre><code>This site can’t be reached
  
  0.0.0.0 refused to connect.
  ERR_CONNECTION_REFUSED
  </code></pre>
  <p>So i tried</p>
  <pre><code>$ docker-machine env dummy
  </code></pre>
  <p>with the following output:</p>
  <pre><code>export DOCKER_TLS_VERIFY=&quot;1&quot;
  export DOCKER_HOST=&quot;tcp://192.168.99.100:2376&quot;
  export DOCKER_CERT_PATH=&quot;/Users/choi/.docker/machine/machines/dummy&quot;
  export DOCKER_MACHINE_NAME=&quot;dummy&quot;
  </code></pre>
  <p>When i try in Chrome <code>http://192.168.99.100:2376</code> i get a blank file downloaded. Why is it so? I expect the default greeting page of my Rails App.</p>