title: Using Amazon EC2 Ipaddress access application outside network
body: <p>I configured the security group for my ec2 instance as shown below. I deployed my application in tomcat on port 8085:</p>
  
  <pre><code>SECURITY GROUP
  -----------------
  custome tcp   8085  0.0.0.0/0   
  </code></pre>
  
  <p>Using my ec2 ip  I am not able to access my application
  <a href="http://58.62.30.195:8085/HealthProd" rel="nofollow">http://58.62.30.195:8085/HealthProd</a></p>
  
  <p>I am able to access my app using localhost like</p>
  
  <p><a href="http://localhost:8085/HealthProd" rel="nofollow">http://localhost:8085/HealthProd</a></p>