Unable to access my public IP using port 80

Paris Pantigoso 96 Reputation points
2020-03-04T20:32:53.007+00:00

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?
Thanks!

3841-firewall.png
3744-nsg.png
3734-website.png
3753-bm3.png

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

Accepted answer
  1. Paris Pantigoso 96 Reputation points
    2020-03-06T16:32:04.5+00:00

    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 10.0.5.4

    Hope it helps!


1 additional answer

Sort by: Most helpful
  1. msrini-MSFT 9,261 Reputation points Microsoft Employee
    2020-03-05T12:22:31.407+00:00

    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.