Make Microsoft Edge works with local sites

At Episerver, we haven’t officially supported Microsoft Edge, yet. Our QA:s do not test on it. And of course no one of us uses it for development. It has a big drawback of not supporting local sites:

Edge with local site

http://Commercedev/ is a local development site on IIS, which we add to hosts file like this:

127.0.0.1  commercedev

It, however, works with localhost sites but have ports in url:

But it does work if your url has a port

Open a Command Prompt in administrative privileges  (Press Windows button, type in cmd, then right click on Command Prompt and select “Run as administrator),

then type in this: (You can of course simply copy and paste)

CheckNetIsolation LoopbackExempt -a -n=Microsoft.MicrosoftEdge_8wekyb3d8bbwe

CmdLine

Now it works, as expected:

LocalSiteWorking

But seriously, Microsoft?

Leave a Reply

Your email address will not be published. Required fields are marked *