Home > Back-end >  Windows EC2 instance cannot be reached via HTTP/HTTPS but RDP works
Windows EC2 instance cannot be reached via HTTP/HTTPS but RDP works

Time:11-01

VPC and Subnet => Public and has an Internet Gateway I've Apache web server running on the instance listening on port 80 & 443 and I can reach it from within the ec2 instance. VPC and Subnet NACL is set to default and allows all network. Instance has a public DNS I can RDP into the instance from my local. Instance can reach the internet I cannot reach the instance via my local on browser or telnet on port 80/443

Do you guys have any idea what's causing it?

I've verified that the subnet is public, has an internet gateway, NACL's good and I can RDP into the server. The instance can access the internet.

Edit: Security Group on the Instance allows all ports from my IP address.

CodePudding user response:

It was the windows firewall settings. I had to allow ports 80 and 443 to go through. Thanks to Steve G in the question comments for the answer.

  • Related