Unable to access my public IP using port 80

Paris Pantigoso 96 Reputation points

I have a VM on Azure running Windows Server and IIS. I have also set up a couple of websites that work fine within the VM.
I'm trying to access a website binded to port 80 using the public IP set up, nevertheless, I can't make it work.
So far, I've done the following:

  • Allow port 80 in NSG
  • Associated NSG to my subnet
  • Open port 80 in Windows Server Firewall (right now, I have the firewall off completely just in the meantime I find the solution)

Could somebody shade some light on this problem?


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

Accepted answer
  1. Paris Pantigoso 96 Reputation points

    Thanks to @msrini-MSFT , I've figured it out that the Azure VM was not set up to listen to the private IP.
    The solution, in this particular case, was to run the following command:

    netsh http add iplisten

    Hope it helps!

1 additional answer

Sort by: Most helpful
  1. msrini-MSFT 9,266 Reputation points Microsoft Employee

    Can you please share the netstat-ano output from your cmd prompt of the Web server? Also , I checked from my end to the IP which you have shared, it works fine with port 3389. I can say that the port 80 is not blocked by the platform.

    1 person found this answer helpful.