EC2 instance running node not connecting over http
<p>I have a new EC2 instance. I created it a couple of days ago. I installed node on it and after that I am trying to check if the node server is able to listen to the incoming request. I started node server and am trying to access the EC2 instance over http but didn't get any success. I have checked the following
1) Server is running. I have started the node server and got the message that server is running on 8080
2) I have checked the security group of the instance and I have allowed all the inbound connection on the port 80 and 8080
3) I pinged EC2 public DNS and was able to get the response from it. </p>