title: HTTP Connection refused to AWS EC2 instance
body: <p>I'm trying to make a login HTTP request from the frontend (Angular app) to AWS EC2 instance but it ends up with (ERR_CONNECTION_REFUSED) error.</p>
  <p>This would be probably a security group policy issue (from the internet) but correct me if I'm wrong. It was working perfectly before and got this error in a few days. If anyone can help me solve this problem.</p>
  <p>I tried to resolve this issue by configuring security group inbound rules with specific port number but port textbox will be disabled when I select HTTP request type. I added a snap of it. Kindly correct me if I'm wrong in detecting the problem so I can make a solution for it.</p>
  <p><a href="https://i.stack.imgur.com/flnPG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/flnPG.png" alt="enter image description here" /></a></p>