By using AWS re:Post, you agree to the Terms of Use
/HTTPS Security Group not allowing access to EC2 instance when tried using HTTPS URL/

HTTPS Security Group not allowing access to EC2 instance when tried using HTTPS URL

0

Security Groups Hi All,i am doing basic hands on regarding EC2 instance i created a inbound Security group for HTTPS on port 443 to be allowed from anywhere.

My EC2 instance has a web server running and it just displays a hello message.

When i am trying to access the EC2 instance using my public IPv4 address using HTTPS it gives me "Unable to connect" error .

Can anyone please point me whats wrong?

1 Answers
1

Can you connect to the web server from the instance itself? Doing something like telnet 127.0.0.1 443 and then telnet <instance private IP> 443? Next, set up another instance in the same subnet and see if you can connect from the second instance to the first instance.

You can use VPC Reachability Analyzer to confirm that your routes and security groups are set up correctly but it can't determine if there is an issue on the instance itself which is what the tests above are there to confirm.

EXPERT
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions