IIS 10 给了我一个“ERR_DISALLOWED_URL_SCHEME"尝试与 WS://连接时 [英] IIS 10 gives me an "ERR_DISALLOWED_URL_SCHEME" when trying to connect with WS://
本文介绍了IIS 10 给了我一个“ERR_DISALLOWED_URL_SCHEME"尝试与 WS://连接时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在服务器上设置了 WebSocket 支持.我运行 Windows 10 和 IIS 10.我尝试将 ws 添加为站点中允许的协议,但这没有帮助.
I have set up the WebSocket support on the server. I run windows 10 and IIS 10. I tried to add the ws as an allowed protocol in the site, but that did not help.
我在本地主机上运行.
推荐答案
我好像误解了什么.我无法直接连接到 websocket 处理程序.这必须通过 WS 对象在 JS 中完成.
Seems like I missunderstood something. I could not connect directly to the websocket handler. This had to be done in JS, through the WS object.
这篇关于IIS 10 给了我一个“ERR_DISALLOWED_URL_SCHEME"尝试与 WS://连接时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文