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
Chip and PIN
Automatically delete all Junk mail
Sam's Club Gas Price Johnson City Tn
Boostmaster Lin Yupoo
Infinite Campus Farmingdale
Capernaum - Stadt der Hoffnung
Unfixed-Info.bin
Google Doodle Baseball Classroom
Undead Asylum Part 2 - Dark Souls Guide - IGN
Sound Of Freedom Showtimes Near Victory Theatre Safford
Sp Lorex Irvine Ca
Wie kann ich mich anmelden?
Clever Sunny 540 - Wohnmobile Erlangen in Stuttgart
What is international trade and explain its types?
Northwest Ga Trader Pets
Qtv Tutor Student Portal
Mail Healthcare Uiowa
Georgina Rodriguez Opium
Dickdrainersx Jessica Marie
How to install kPlug (with and without HF Patch) – Steam Solo
How to Sell Cars on Craigslist: A Guide for Car Dealers | ACV Auctions
Asur Season 1 Download Filmyzilla
Academic Calendar University Of Tampa
Lux Nails Columbia Mo
Andrews Auto Repair Kenosha Reviews
Shaken or Stirred? How to Mix Any co*cktail the Right Way
Waitlistcheck Sign Up
Hindi Links 4U
Projectxyz Employee Portal
When Does Fortnite Downtime End
Raiders Live Score
Universal and Individual Gas Constants
Lvc Final Exam Schedule
Wo die Säbelzahntiger brüllen – die Serie „La Brea“ startet bei Sky
Nh. Craigslist
Clafi Arab
How Much Is 10000 Nickels
Mytowerlearninghub
Milwaukee County Tickets
Busted Barren County Ky
Devotion Showtimes Near O'neil Cinemas - Brickyard Square 12
Lady Wicked Playground
Craigslist Edmond
Ella Phipps Haughton
Rapper Slimesito | Real Name, Age, Height, Girlfriend, Net Worth, & Wiki - Simply Who
Express Employment Sign In
Kiriko Cute Spray Bugged
Uncutmazaa
Minecraft Astral Sorcery Guide | DiamondLobby
Funbox Lone Tree Tickets
Craigslist Metal Roofing
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.