不能在Windows 10 preVIEW打开Microsoft边缘(项目斯巴达)本地主机 [英] Can't open localhost in Microsoft Edge (Project Spartan) in Windows 10 preview
问题描述
我安装了Windows 10 preVIEW和安装IIS。
I installed Windows 10 preview and installed IIS.
打开的http://本地主机项目中的斯巴达无法连接
Open "http://localhost" in Project Spartan can't connect.
IE浏览器没有问题。有什么问题?
IE has no problem. What's the problem?
推荐答案
所以,问题是<击>斯巴达击>边缘没有进入回环地址,这恐怕是大多数Windows Store应用程序将被阻止访问。
So the issue is Spartan Edge doesn't have access to the loopback addresses, which is something that most Windows Store apps are blocked from accessing.
如果您使用的是Windows 10 RTM或建立10166,这可以通过导航到约完成
If you are using Windows 10 RTM or build 10166, this can be done by navigating to about:flags
and checking "Allow localhost loopback":
如果您使用的是Windows 10, CheckNetIsolation的previous构建
工具可用于将其添加到列表LoopbackExempt。从提升的命令提示符下使用这样的:
If you are using a previous build of Windows 10, the CheckNetIsolation
tool can be used to add it to the LoopbackExempt list. Use this from an elevated command prompt:
CheckNetIsolation LoopbackExempt -a -n="Microsoft.MicrosoftEdge_8wekyb3d8bbwe"
Microsoft.MicrosoftEdge_8wekyb3d8bbwe
为边缘应用程序的标识符。它可以通过使用 GET-AppxPackage
在PowerShell中,并通过结果斯巴达/边缘筛选和使用 PackageFamilyName
。
Microsoft.MicrosoftEdge_8wekyb3d8bbwe
is the identifier for the Edge app. It can be determined by using Get-AppxPackage
in PowerShell and sifting through the results for the Spartan / Edge and using the PackageFamilyName
.
由于建设10158时,PackageFamilyName已经从 Microsoft.Windows.Spartan_cw5n1h2txyewy
更改为 Microsoft.MicrosoftEdge_8wekyb3d8bbwe
。
As of Build 10158, the PackageFamilyName has changed from Microsoft.Windows.Spartan_cw5n1h2txyewy
to Microsoft.MicrosoftEdge_8wekyb3d8bbwe
.
这篇关于不能在Windows 10 preVIEW打开Microsoft边缘(项目斯巴达)本地主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!