I have deployed a nodejs application in AWS EC2 instance. It has API gateway with '/api/companies' endpoint. After starting my server I am able to cURL from the instance terminal and it returns the result correctly. But I am not able to make the request from my browser to the EC2 instance. I am not sure exactly how to modify the inbound rules to make this work
You might want to check out the Security Group Rules documentation, but the gist is:
0.0.0.0/0 in the Source)tcp, and set the Port to 80 or 443 depending on what your application usesNo VPC, but you have to select your VPCSource, you can choose My IP if you want to allow inbound traffic from your IP only or from Anywhere in the world
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With