Connecting to web server (IIS on Server 2019 Datacenter) times out


I created a VM in Azure, set up a web page, disabled the firewall, added rules for port 80 in network security group and I can only reach the page with localhost and the internal IP, not the external. Is there anything else that I need to do to let computers on the internet connect to my website?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,964 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous

    Yeah that tool shows it as closed. And now I see rules that deny all inbound and outbound ports but they cannot be modified and I can't raise my rules' priorities higher. What can I do about this? ![8070-deny.jpg][1] [1]: /api/attachments/8070-deny.jpg?platform=QnA

1 additional answer

Sort by: Most helpful
  1. vipullag-MSFT 21,451 Reputation points Microsoft Employee

    anonymous user

    As you mentioned that you have already disabled firewall on OS side and opened port 80 on NSG, that should work. However, you can use this tool to check if port 80 is open on your public IP. If you are getting port as closed, then you also check if there are any other rule impacting the VM NIC on subnet level as shown in below screenshot.


    [Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.]

    Disclaimer: This response contains a reference to a third party World Wide Web site.
    Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.

    0 comments No comments