简体   繁体   中英

Cannot view IIS hosted website using public IP address

I have a server hosted on Azure. I have installed IIS on this server. I have created a basic website. I am able to see the website when i use localhost or the private IP address. I am not able to see the website when I use the public IP address provided by Azure. I have not configured this server in any other way, other than to ensure that port 80 is open in the firewall. Any ideas why can't view the website from the public IP address or a different machine?

Thank You

Any ideas why can't view the website from the public IP address or a different machine?

If you create your VM in ARM module, We should open the port 80 on NSG( add port 80 to inbound rules ), and open the port 80 on windows firewall . More information about NSG, refer to the link .
If you create your VM in ASM module, we should open the endpoint 80 on the old portal. More information about endpoint, refer to the link .

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