title: Wait for 0.0.0.0:8080 instead of localhost:8080
body: <p>In <code>GenericContainer</code> class, it exists a method <code>waitingFor</code>, that waits for status code <code>200</code> as reponse from the server.<br>
  I am running a web application in a container and use <code>0.0.0.0</code> as host instead of <code>localhost</code>. 
  When I try to run the <code>sbt test</code>, I've got following timeout:</p>
  
  <pre><code>[sweetsoft/sapmock:latest] - Could not start container
  org.testcontainers.containers.ContainerLaunchException: Timed out waiting for container port to open (localhost ports: [8080] should be listening)  
  </code></pre>
  
  <p>I am using the test container as the following:</p>
  
  <pre><code>final class MessageSpec extends BddSpec
    with ForAllTestContainer
    with BeforeAndAfterAll {
  
  
    override val container = FixedHostPortGenericContainer("sweetsoft/sapmock",
      waitStrategy = Wait.forHttp("/"),
      exposedHostPort = 8080,
      exposedContainerPort = 8080,
    )
  
  
    override def beforeAll(): Unit = {
  
    }
  
  
    feature("Process incoming messages") {
      info("As a user, I want that incoming messages is going to process appropriately.")
      info("A message should contain the following properties: `sap_id`, `sap_event`, `payload`")
  </code></pre>
  
  <p>When I would remove <code>waitStrategy = Wait.forHttp("/")</code>, then it works fine but with <code>waitStrategy = Wait.forHttp("/")</code>
  it goes into the timeout.</p>
  
  <p>How to tell the <code>Testcontainer</code> to listen on <code>0.0.0.0</code> instead of the <code>localhost</code>? 
  I have described the problem with the localhost here: <a href="https://stackoverflow.com/questions/56201718/why-does-the-client-can-not-connect-to-localhost8080/56201938?noredirect=1#comment99027626_56201938">Why does the client can not connect to localhost:8080?</a> </p>