← all posts

Browsing localhost with the Microsoft Edge Browser

Gordon Beeming
Gordon Beeming

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.

Windows Feedback app showing items related to localhost browsing issues
Windows Feedback app with entries about localhost browsing problems in Edge

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

Microsoft Edge error: Hmm, we can't reach this page
Microsoft Edge displaying 'Hmm, we can\'t reach this page' for a localhost address

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.

Fiddler toolbar with WinConfig button highlighted
Fiddler's main toolbar showing the WinConfig button for AppContainer Loopback Exemption Utility

This will launch the AppContainer Loopback Exemption Utility.

AppContainer Loopback Exemption Utility window
The AppContainer Loopback Exemption Utility window listing applications

Find and check the Microsoft Edge app in the list

Microsoft Edge selected in AppContainer Loopback Exemption Utility
Microsoft Edge checkbox selected in the AppContainer Loopback Exemption Utility

and then click Save Changes

Original image lost
Original image lost...

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

AppContainer Loopback Exemption Utility success message
Success message in AppContainer Loopback Exemption Utility after saving changes

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

Localhost site successfully loaded in Microsoft Edge
Microsoft Edge successfully loading a localhost website after applying Fiddler exemption

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

Gordon Beeming
Gordon Beeming

Father • Husband • Triathlete • SSW Solution Architect

Related posts