Share via

facing issues while accessing my hosted IIS application from outside

Sandeep 0 Reputation points
2026-04-21T05:19:52.24+00:00

i have launched a Window Server. i can see IP 20.81.162.169 and i have given domain ansalshrms.eastus2.cloudapp.azure.com . i have configured IIS and it's running . i have configured applications that also running but when i am trying to access outside it's not accessible.

i am expecting ansalshrms.eastus2.cloudapp.azure.com should point to my IIS and i have configured application it should accessible like

http://localhost/ansalshrms/login.aspx -working on IIS window server

ansalshrms.eastus2.cloudapp.azure.com/ansalshrms/login.aspx - should working i am expecting

Windows development | Internet Information Services
0 comments No comments

1 answer

Sort by: Most helpful
  1. Tom Tran (WICLOUD CORPORATION) 4,860 Reputation points Microsoft External Staff Moderator
    2026-04-21T06:53:48.24+00:00

    Hi @Sandeep , Thanks for sharing your details.

    The issue could be external traffic being blocked before it even gets to IIS. There are a couple of things you could check first:


    1. Open port 80 in your Azure NSG

    Go to Azure portal → your VM → Network settings → Add inbound port rule, and make sure it's set to allow port 80 with source port range as *. That's the most common fix for this exact scenario. You can check here for better details:


    2. Check your IIS site binding

    In IIS Manager, open your site's Bindings and make sure the IP address is set to All Unassigned. If it's bound to a specific IP like 127.0.0.1, external requests won't be picked up even after the NSG is open.


    3. Allow port 80 in Windows Firewall on the VM

    Even with the NSG open, the Windows Firewall inside the VM can still block traffic. RDP into your server. I recommend checking this article for better instructions:

    Disclaimer: These are non-Microsoft websites. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classifies as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.


    If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance to provide feedback. Thank you.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.