UWP启用本地网络环回 [英] UWP Enable local network loopback
问题描述
我写了一个UWP-App和生成和安装.appxbundle后,我每次启动App我收到了 net_http_client_execution_error
。该应用程序启动和运行良好,当在Visual Studio 2015年开始,所以没有机会,我得到这个问题,如果我调试应用程序。
I wrote a UWP-App and after generating and installing the .appxbundle, every time I start the App I get a net_http_client_execution_error
. The App is starting and running fine, when started in Visual Studio 2015. So there is no chance for me to get the problem, if I debug the app.
更新:
默认情况下的Windows应用程序限制到达本地主机(127.0.0.1)。我已经有运行的沙发上的数据库。这沙发数据库应该为我们的costumers运行那里。
是否有可能让一个应用程序到达本地主机(启用本地网络环回)?
Update:
By default Windows restricts apps to reach the localhost (127.0.0.1). I have running a couch database there. This couch database should run there for our costumers as well.
Is it possible to allow a App to reach the localhost (enable local network loopback)?
推荐答案
有关业务线应用程序的使用checknetisolation.exe工具授予应用回环异常:
For a line of business app use the checknetisolation.exe tool to grant the app a loopback exception:
c:\>checknetisolation loopbackexempt -d -n=<package family name>
在<一个有更多细节的白皮书href=\"https://msdn.microsoft.com/en-us/library/windows/apps/dn640582.aspx\">https://msdn.microsoft.com/en-us/library/windows/apps/dn640582.aspx
这篇关于UWP启用本地网络环回的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!