简体   繁体   中英

HTTPS connection rejected on Amazon ec2 instance

I have updated inbound rule to accept HTTPS, but when I hit from browser I get error err_connection_refused. I have run netstat -nupt -l but it does not show HTTPS opened. Is there any other way I can open https

You have to check two things to ensure that the HTTPS port are really opened in EC2.

  1. Iptables . Ensure that the 443 port is opened to your desired IP
  2. EC2 Security Groups . Go to the EC2 Managment console, go to "Network and Security" and find at witch security group is attached your machine. You can see the attached SG (security group in the instance properties). Probably it's not opened 443 port.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM