title: Exposing a docker container to the internet
body: <p>I deployed a ghost blogging platform on my server using docker. Now I want to expose it to the internet but I'm having some difficulties doing so.</p>
  <p>I opened port <code>8000</code> in my router a forwarded it to port <code>32769</code> which is the one assign to that container. Using port <code>32769</code> inside my network I can access the website fine but when I try to access it from the internet it gives a <code>took too long to respond</code> error.</p>
  <p>Local IP + PORT: <code>http://10.0.0.140:32769/</code></p>
  <h3>Docker port config</h3>
  <p><a href="https://i.stack.imgur.com/CTY9C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CTY9C.png" alt="" /></a></p>
  <h3>Port tester</h3>
  <p><a href="https://i.stack.imgur.com/kg3Ks.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kg3Ks.png" alt="" /></a></p>
  <h3>Router settings</h3>
  <p><a href="https://i.stack.imgur.com/DNWad.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DNWad.png" alt="" /></a></p>
  <p>This post was also added to <a href="https://superuser.com/questions/1631751/exposing-a-docker-container-to-the-internet">Super User</a> since it has been said that it would be responded better in there.</p>