title: How to Access AWS EC2 docker tomcat instance running inside jenkins docker instance from my local browser
body: <p>I have a jenkins instance running inside a docker container that's listening on port 8181.</p>
  
  <p>Example URL of the jenkins instance:
  <a href="http://ec2-34-155-164-97.us-west-2.compute.amazonaws.com/" rel="nofollow noreferrer">http://ec2-34-155-164-97.us-west-2.compute.amazonaws.com/</a></p>
  
  <p>I have a tomcat docker instance that's listening on port 8383 running inside the jenkins docker container.</p>
  
  <p>I can access jenkins instance from my local browser. Is there any possible way that I can access my docker tomcat instance from my local browser?</p>
  
  <p>Here is my <code>docker run</code> command:</p>
  
  <pre><code>docker run -d -v /var/run/docker.sock:/var/run/docker.sock \ -v $(which docker):/usr/bin/docker -p 8181:8080 jenkins-dsl 
  </code></pre>
  
  <p>Please provide your suggestions.</p>