IIS 10 gives me an “ERR_DISALLOWED_URL_SCHEME” when trying to connect with WS://

喜欢而已 提交于 2020-01-17 05:36:09

问题


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.

I'm running all on localhost.


回答1:


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.



来源:https://stackoverflow.com/questions/33168633/iis-10-gives-me-an-err-disallowed-url-scheme-when-trying-to-connect-with-ws

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!