title: Not able to access a port on ec2 instance for an Angular app
body: <p>I am working on an angular app using the angular cli to set things up. Running the <code>ng serve</code> command spawns a server at this address <code>&lt;my_ec2_host_name&gt;:4200</code>. When I try to access the page on the browser it doesn't work (connection timed out error). I believe this is because of security reasons so I added the following rule to my security groups for the ec2 instance:</p>
  
  <p><a href="https://i.stack.imgur.com/FDq2A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FDq2A.png" alt="enter image description here"></a></p>
  
  <p>Port 4200 should now be accessible but I still can't get the page to load. Can someone think of how to get this to work?</p>