title: How to make Tomcat on AWS EC2 available from outside localhost
body: <p>I'm trying to run Tomcat on an AWS Linux server.  I've installed Tomcat, and tested it from the command line to make sure it's working, but I can't access it from another machine.  The details:</p>
  
  <ol>
  <li>The instance has port 80 incoming for HTTP open in the security group.</li>
  <li>I have verified that it's running on port 80 by telnetting into localhost on that port and doing a GET request.</li>
  <li>I tried adding the public DNS as an alias for localhost in server.xml then restarting to make sure the changes are picked up.</li>
  </ol>
  
  <p>Yet if I try to access it via my browser (outside the actual server) using the public DNS I get "could not connect".</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks...</p>