title: docker Mule-server curl: (56) Recv failure: Connection reset by peer
body: <p>This might just be my rookie knowledge of Docker,
  but I can't get the networking to work.</p>
  
  <p>I'm trying to run a Mule-server via the pr3d4t0r/mule repository.
  I can run it, hot-swap applications but I can reach it.</p>
  
  <p>I can run a local server without Docker, and it works flawlessly.
  But not when I try it with Docker.</p>
  
  <p>When I try to do a simple curl command I get "curl: (56) Recv failure: Connection reset by peer"</p>
  
  <pre><code>curl http://localhost:8090/Sven
  </code></pre>
  
  <p>I have tried exposing the ports via -P and separately via -p 8090:8090 but no luck.</p>
  
  <p>When the docker is running it blocks the ports (I tried running Docker and the normal server at the same time but the normal one said the ports where already in use). </p>
  
  <p>When I try another Image like jboss/wildfly and I use -p 8080:8080 there's no problem, it works perfectly.</p>
  
  <p>The application in the mule-server will log and respond a simple "hello World", the output says that the application is deployed, but no messages or logging while I try to reach it.</p>
  
  <p>Any suggestions?</p>