title: Can't ping port 80 outside of docker container - recv failure - connection reset by peer
body: <p>I'm creating a react app in a docker container. More specifically, it contains much more than that, but I'm stuck on the react/nginx :80 being exposed outside the container. I don't seem to have this problem when I use another port like 3000 or 8080.</p>
  
  <p><code>git cone https://chrisconnors@bitbucket.org/chrisconnors/mndspn.git</code></p>
  
  <p>Then I just build the <code>frontend</code> with
  <code>docker-compose up --build -d frontend</code></p>
  
  <p>After it's running, I can hit <code>0.0.0.0:80</code> in the container itself.</p>
  
  <pre><code>/ # wget 0.0.0.0:80
  Connecting to 0.0.0.0:80 (0.0.0.0:80)
  index.html           100% |******************************************|   548   0:00:00 ETA
  </code></pre>
  
  <p>However, when i hit that in the browser or curl from my terminal (outside the container), I get this error:</p>
  
  <pre><code>:~/src/mndspn$ curl --trace-ascii dump.txt 0.0.0.0:80
  curl: (56) Recv failure: Connection reset by peer
  :~/src/mndspn$ cat dump.txt 
  == Info: Rebuilt URL to: 0.0.0.0:80/
  == Info:   Trying 0.0.0.0...
  == Info: TCP_NODELAY set
  == Info: Connected to 0.0.0.0 (127.0.0.1) port 80 (#0)
  =&gt; Send header, 71 bytes (0x47)
  0000: GET / HTTP/1.1
  0010: Host: 0.0.0.0
  001f: User-Agent: curl/7.58.0
  0038: Accept: */*
  0045: 
  == Info: Recv failure: Connection reset by peer
  == Info: stopped the pause stream!
  == Info: Closing connection 0
  </code></pre>