title: EC2 port 8080 not open even added Security Group
body: <p>I am trying to test a simple http server on ec2 with port 8080 by <code>python -m SimpleHTTPServer 8080</code> but it is not working. I have added the security group for TCP 8080, tried ALL TCP and even all All traffic. But still I cannot open the <strong>Public_DNS_IPv4:8080</strong> in the browser. I checked on the ec2 is listening to 8080 as per <code>netstat</code> below.
  My ec2 AMI ID is <em>amzn-ami-hvm-2017.09.1.20180115-x86_64-gp2 (ami-97785bed)</em></p>
  
  <p>Interestingly, if I ran <code>sudo python -m SimpleHTTPServer 80</code> then it is working on <strong>Public_DNS_IPv4</strong></p>
  
  <p>Can any one help to see what I have missed?</p>
  
  <p><a href="https://i.stack.imgur.com/9mhfo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9mhfo.png" alt="enter image description here"></a></p>
  
  <pre><code>[ec2-user@XXXXXXX ~]$ python -m SimpleHTTPServer 8080
  Serving HTTP on 0.0.0.0 port 8080 ...
  
  
  [ec2-user@XXXXXXX ~]$ netstat -tulpn  | grep 8080
  (Not all processes could be identified, non-owned process info
   will not be shown, you would have to be root to see it all.)
  tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN      8844/python
  </code></pre>
  
  <p>UPDATED Network ACL</p>
  
  <p><a href="https://i.stack.imgur.com/xNBR6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xNBR6.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/7JZ98.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7JZ98.png" alt="enter image description here"></a></p>
  
  <p>route table
  <a href="https://i.stack.imgur.com/ppDKP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ppDKP.png" alt="enter image description here"></a></p>