title: Making requests to external host on Docker container
body: <p>I am trying to connect to a database that has an IP of x.x.x.x from my Docker container</p>
  
  <p>Getting this error</p>
  
  <pre><code>java.net.NoRouteToHostException: No route to host (Host unreachable)
  </code></pre>
  
  <p>Tried running container using --network=host which has a similar approach to the above  attempt</p>