Edge browser hosts file

Hello, does anyone know how edge resolves the addresses?

Context: for development purposes, I configured local aliases in hosts file (127.0.0.1 <workalias>) so I can simulate different servers (in clear, IIS sites).

I can test with IE 11 & Chrome, they correctly read the hosts file and let me browse my websites.

Edge just never finds <workalias>. Where does Edge find its configuration?

Regards,

Fauberon

-------

Fauberon,

Well it is hard for me to tell why Microsoft Edge don't look up the hosts files like the other browser.

Microsoft Edge actually is a built-in Universal Windows app, this fundamentally changes the process model, so that both the outer manager process, and the assorted content processes, all live within app container sandboxes.

As hosts file is considered as the important system file, I suspect there should be some limitation for the apps to access it.

More information, please check: Microsoft Edge: Building a safer browser

And New Microsoft Edge and IE blog site: http://blogs.windows.com/msedgedev/

Regards


Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

from: https://social.technet.microsoft.com/Forums/en-US/246298d8-52c1-4440-8d7f-05329d50e653/edge-browser-hosts-file?forum=win10itprogeneral

原文地址:https://www.cnblogs.com/xzs603/p/5457246.html