title: How to run different apps on single Tomcat instance behind different ports?
body: <p>Currently I have 2 web applications app1 and app2 running on Tomcat 6:</p>
  
  <ul>
  <li>app1 on <a href="http://localhost:8080/app1" rel="noreferrer">http://localhost:8080/app1</a> </li>
  <li>app2 on <a href="http://localhost:8080/app2" rel="noreferrer">http://localhost:8080/app2</a></li>
  </ul>
  
  <p>I want to configure Tomcat so that they run in root context behind separate ports:</p>
  
  <ul>
  <li>app1 on <a href="http://localhost:8081" rel="noreferrer">http://localhost:8081</a></li>
  <li>app2 on <a href="http://localhost:8082" rel="noreferrer">http://localhost:8082</a></li>
  </ul>
  
  <p>What needs to be done?</p>