[UWP] WebSocket UWP [英] [UWP]WebSocket UWP

查看:152
本文介绍了[UWP] WebSocket UWP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我刚刚开始使用UWP,并创建了一个将在桌面上运行且不会提交给商店的应用。我无法让websocket与使用Powershell脚本安装
应用程序的计算机上的服务器进行通信。如果我使用远程调试器将可视工作室的发布或调试应用程序安装到本地或远程计算机,它可以正常工作,应用程序将与服务器通信。这使得使用断点是不可能的,因为它使用Visual Studio每个
时间构建和部署。尽管我想创建Windows exe文件,但由于我使用的SDK的限制,我仅限于UWP。在此先感谢。

解决方案

搜索周围的应用程序时,似乎是在阻止应用程序时阻止了localhost连接。 / BLOCKQUOTE>

Hello,

I just started working with UWP for the first time and created an app that will run on desktops and will not be submitted to the store. I am unable to get websocket to communicate with the server on computers where the Powershell script was used to install the app. If I install the release or debug app from visual studios to the local or remote machine using the remote debugger it works without any issues and the app will communicate with the server. This makes using breakpoints impossible since it works every time I build and deploy with Visual studios. As much as I would like to create the windows exe file I am confined to UWP due to a limitation of an SDK I am using. Thanks in advance.

解决方案

After searching around it seems that localhost connection is blocked when app is being sideloaded.


这篇关于[UWP] WebSocket UWP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆