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

前端 未结 8 844

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 02:17

    Microsoft Edge runs with network isolation by default for security reasons. To enable loopback and debug your localhost server run the following command from an elevated shell if you have 10158 or newer:

    CheckNetIsolation LoopbackExempt -a -n=Microsoft.MicrosoftEdge_8wekyb3d8bbwe

    or

    checknetisolation loopbackexempt -a -p=S-1-15-2-3624051433-2125758914-1423191267-1740899205-1073925389-3782572162-737981194

    or this one if you have an older version

    CheckNetIsolation LoopbackExempt -a -n=Microsoft.Windows.Spartan_cw5n1h2txyewy

    In a future update, you’ll be able to enable localhost loopback support using about:flags.

提交回复
热议问题