Browsing localhost with the Microsoft Edge Browser

category: [ Uncategorized ] tags: [ Fiddler ] [ Microsoft Edge ] [ Windows 10 ]
created: 04 Jul 2015 @ 18:26 modified: 24 Apr 2017 @ 13:57


So if you using windows 10 and doing some web development you would probably have noticed that you can't browse localhost for some reason. And there is a couple of feedback items for it in the Windows Feedback app.

image

I'm currently trying to use Microsoft Edge for some screenshots of something (watch this space =D), and keep getting a message saying that the page is not available

image

I did a quick search to try find any solutions and couldn't find anything. So I turned to the tool that does magical things for me with the internet. I opened Fiddler =). Fiddler has a small feature that you can use when you want to debug network traffic for Windows Store apps. You can open that app by clicking on the WinConfig button in the main toolbar of Fiddler.

image

This will launch the AppContainer Loopback Exemption Utility.

image

Find and check the Microsoft Edge app in the list

image

and then click Save Changes

image

You will see at the bottom of the window a message specifying that the update was successful.

image

Now go back to Microsoft Edge and refresh the site that previously didn't load.

image

And you are now able to browse localhost sites using Microsoft Edge. After your site has loaded for the first time it's usually ok to close Fiddler and Edge will continue to work as it should do =D

ABOUT ME

Gordon Beeming works at Nologo Studios in the sunny city of Durban, South Africa. He is the Lead for the Data and Services Team and has a strong focus on Developer Efficiencies and R&D. When he's not hacking away at a keyboard in Visual Studio he'll generally be relaxing with his family or hitting the black top getting in some mileage. He is a Visual Studio ALM Ranger and Visual Studio ALM MVP.

Follow me on Strava

TOOLS

I plan on writing a bunch of online tools and sharing the code for how I made those tools. If you have any feedback you can ping me on Twitter (@GordonBeeming) or mail me [email protected].