Can't open localhost in Microsoft Edge (Project Spartan) in Windows 10 preview

前端 未结 8 860

I installed Windows 10 preview and installed IIS.

Open \"http://localhost\" in Project Spartan can\'t connect.

IE has no problem. What\'s the problem?

8条回答
  •  再見小時候
    2020-12-05 01:56

    Neither did the CheckNetIsolation LoopbackExempt -a -n=Microsoft.MicrosoftEdge_8wekyb3d8bbwe command nor manually enabling the "Allow localhost loopback" on Edge work for me.

    What did work is the following:

    1. Edit the C:\Windows\System32\drivers\etc\hosts file and add a mapping for a custom hostname to 127.0.0.1 like 127.0.0.1 local.

    2. Open Internet Options and add http://local to the local intranet sites.

提交回复
热议问题