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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南