Can't access IIS Web Server outside EC2 Windows Instance

0

Hi AWS, I am able to host a .NET application on IIS webserver using localhost but when I am trying to access that application outside the instance it is giving me refused to connect error. I have updated the security group inbound rules with HTTP and HTTPS for port 80 and 443 for both ipv4 and ipv6. Also I have checked the route table of the subnet attached to the instance has IGW in the rules but still I am not able to access it.

Any reason why it is occuring. Please suggest. I have restarted the instance and clean the DNS cache as well but same issue persists.

profile picture
Arjun
已提问 8 个月前529 查看次数
1 回答
0

Have you checked the IP Domain and restrictions in IIS. Ensure the correct CIDR ranges are listed.

Are you connecting to the Public IP or Private IP?

profile picture
专家
已回答 8 个月前
  • I am connecting to the public IP of the instance. No I haven't checked the IP domain and restrictions in IIS as I am not aware of that. Can you please help me with that?

  • So, there is a bit of progress after I install the IP Domain and Restrictions in IIS as I can hit the public IP of the instance using http protocol but while I am trying to connect with https it is still giving me refused to connect error @Gary Mclean

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则