After configuring IIS on azure vm, I tried to browse website outside of VM, it is not accessible throwing HTTP error 401 - Microsoft Q&A (2024)

After configuring IIS on azure vm, I tried to browse website outside of VM, it is not accessible throwing HTTP error 401 - Microsoft Q&A (1)

Ravi Kanth Koppala 3,231Reputation points Microsoft Employee

2022-01-15T15:01:19.897+00:00

@Mohammad Bin Qasim Niaz ,
I can reproduce the error and able to fix the issue. I created a windows 2019 data center SKU with default values (and public IP). Then, when I tried to log into the machine, the IIS feature was not enabled by default, and I installed the feature. When I access the default website, I can browse the default IIS website.
After configuring IIS on azure vm, I tried to browse website outside of VM, it is not accessible throwing HTTP error 401 - Microsoft Q&A (2)

I am not able to access the website from the outside. To make it work, I did open port 80 for HTTP access to the website via the internet. To do this, follow the below steps:

  1. Click on your VM in the Azure portal.
  2. Click on Network Interfaces > The IP address tab > Network Security groups > Click on the NSG that is available there.
  3. On the tab that appears click on Inbound Security rules > Add > Click on the Service dropdown and select http > Click on OK.

After these changes, I can browse the website from the outside.
After configuring IIS on azure vm, I tried to browse website outside of VM, it is not accessible throwing HTTP error 401 - Microsoft Q&A (3)

I understand you did the same steps. Can you please confirm if a public IP is configured for the VM?

----------

(If the reply was helpful, please don't forget to upvote and accept as an answer, thank you)
Ravi Kanth

  1. After configuring IIS on azure vm, I tried to browse website outside of VM, it is not accessible throwing HTTP error 401 - Microsoft Q&A (4)

    Boleslav 0Reputation points

    2023-08-12T10:53:27.2566667+00:00

    I am soooo not surprised. Microsoft is sh%ty again even in default setup of its software! The default website just DOESN'T work BY DEFAULT! Such primitive logic and yet no luck!

    Instead, you just setup linux machine with basic Apache/Ngnix, and voila.

    Maybe those are just signs to us: "guys, f%ck IIS, this is the 19th century, none uses it anymore, please go to linux with ngnix"!

  2. After configuring IIS on azure vm, I tried to browse website outside of VM, it is not accessible throwing HTTP error 401 - Microsoft Q&A (5)

    Boleslav 0Reputation points

    2023-08-12T11:10:27.7233333+00:00

    The worst thing is that in case of "I just reinstalled my Virtual Machine", you just don't have any confidence it won't happen again, because you don't have clear understanding what caused the issue! "Well, there are some files corrupted!" Really? Maybe I should tell that to my customers: "Oh, you know, Microsoft is somewhere corrupted... you know?!"

    Any default ngnix/apache setups just don't have that for the DEFAULT EMPTY websites!

  3. After configuring IIS on azure vm, I tried to browse website outside of VM, it is not accessible throwing HTTP error 401 - Microsoft Q&A (6)

    Prrudram-MSFT 24,366Reputation points

    2023-08-14T05:53:10.47+00:00

    Hi Boleslav

    It is important to identify where the issue is in case the default website is inaccessible outside of the VM.

    Like, previously suggested, the common blocker in this case is NSG rules, you need to allow inbound traffic on port 80 from the internet.

    If that is already done and still there is an issue accessing the website from outside of the VM, it needs to be debugged from 2 aspects, one the IIS and two networking.

    I recommend raising a support case with azure technical support for a deeper investigation.

    I also recommend following the code of conduct for Microsoft Q&A being a user on this forum. Any kind of abuse in the Q&A community forum will result in your profile being banned from the community.

  4. After configuring IIS on azure vm, I tried to browse website outside of VM, it is not accessible throwing HTTP error 401 - Microsoft Q&A (7)

    Boleslav 0Reputation points

    2023-08-14T12:26:47.5633333+00:00

    It has nothing to do neither with networking nor FireWall. It happens even locally on localhost! By default! When with other VM setup it works well, again, BY DEFAULT. That's why it's so frustrating!

  5. After configuring IIS on azure vm, I tried to browse website outside of VM, it is not accessible throwing HTTP error 401 - Microsoft Q&A (8)

    Prrudram-MSFT 24,366Reputation points

    2023-10-13T17:53:25.35+00:00

    This issue needs deeper investigation, Azure technical support team will be able to check and help on this. I would recommend you open an azure support case. If you don't have the ability to open a technical support ticket, please let me know and I can help you further with this.

Sign in to comment

After configuring IIS on azure vm, I tried to browse website outside of VM, it is not accessible throwing HTTP error 401 - Microsoft Q&A (2024)
Top Articles
What Credit Score Do You Need To Be Approved For The Chase Sapphire Preferred Card?
Do You Need a Car Insurance Photo Inspection? | Bankrate
Red wine, berries, dark chocolate and tea: A recipe to reduce dementia risk
Ventura Houses For Rent - Craigslist
Pikes Suwanee
Aspen.sprout Forum
Fantasy Football Week 3: 5 players who could make or break your lineups
Reli Stocktwits
Biggerlifestyles
Craigslist Personals Kenosha Wi
Craigslist Musicians Delaware
Trauma Care | FMOLHS
Pubblicare Annunci Gratuiti - comprare e vendere usato in Italia | CLASF
Littleton U Pull Inventory
Adora Furniture Paterson Nj
Wi Dept Of Regulation & Licensing
Argus911
Attorney withdraws, trial is delayed for man accused of killing 2 Eagle Mountain boys
Hannaford Weekly Flyer Manchester Nh
Troy Eugene Wigley I Survived Ellen Halbert
417-990-0201
Peoplesoft Oracle Americold Login
Our Washes | Zips Car Wash
Aldi Weekly Ad Lake Elsinore
Dreammarriage.com Login
Cars Under $1000 On Craigslist
Identogo Edinburg
Wo die Säbelzahntiger brüllen – die Serie „La Brea“ startet bei Sky
Ficoforum
The Divergent Series: Insurgent - Wikiquote
Serabii Net
Heather Mestdagh Obituary
Weve Got You Surrounded Meme
Chinese All You Can Eat Buffet Near Me
Craigslist Marion Ma
What is an employee portal | Deel
David Baker, biochemist: ‘Now we can build completely new proteins to do exactly what we want’
K Pocha - Korean Pub Aurora Reviews
Sinfuldeeds Married Latina
Biolovematch
When to File Your Adjustment of Status Application for Family-Sponsored or Employment-Based Preference Visas: October 2024
Metro 72 Hour Extension 2022
Gwdonate.org Login
Fapptime.cc
Egusd Lunch Menu
Smithfield Stamp Okta Login
Ticket To Paradise Showtimes Near Regal West Manchester
Megan Mullally | Rotten Tomatoes
Fifty Shades Freed Putlocker
Dallas Cowboys On Sirius Xm Radio
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 5715

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.