title: Jenkins behind Docker not working behind different http port
body: <p>I have an AWS EC2 instance with Docker installed. I am trying to reach Jenkins created with:</p>
  
  <pre><code>docker run -u root --rm -d -p 10000:8080 -p 50000:50000 -v jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock --name jenkinsBlueOcean jenkins/jenkins:lts 
  </code></pre>
  
  <p>through <code>http://ip:10000</code>, where <code>ip</code> is the IP of the EC2 instance. I can reach the website while Jenkins is being set up. Once setup, however, the connection gets resets and I cannot reach Jenkins anymore. I can only reach Jenkins through localhost (via an SSH tunnel) via <code>http://localhost:10000</code>.</p>
  
  <p>When I run</p>
  
  <pre><code>docker run -u root --rm -d -p 8080:8080 -p 50000:50000 -v jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock --name jenkinsBlueOcean jenkins/jenkins:lts 
  </code></pre>
  
  <p>all works like a charm through <code>http://ip:8080</code>.
  Is this a reverse proxy problem?</p>