英文:
Microsoft Edge : Cross zone connection error
问题
I have a script that uses WebSocket on loopback.
Edge shows the following error when script tries to connect to 127.0.0.1:4530.
"SCRIPT12017: WebSocket Error: SECURITY_ERR, Cross zone connection not allowed"
Solution:
I have made the following changes and it worked for me.
- In the Control Panel - Internet Option, select the Security Tab. In the Security tab, select Local intranet zone. Click on Sites button and uncheck all checkboxes in Local intranet dialog.
I want to know:
- what is the meaning of this error:
"SCRIPT12017: WebSocket Error: SECURITY_ERR, Cross zone connection not allowed"
and - why I have to make the above changes in Internet options.
I have googled it but no luck.
英文:
I have a script that uses WebSocket on loopback.
Edge shows the following error when script try to connect to 127.0.0.1:4530.
"SCRIPT12017: WebSocket Error: SECURITY_ERR, Cross zone connection not allowed"
Solution :
I have made the following changes and it worked for me.
- In the Control Panel - Internet Option, select the Security Tab. In the Security tab, select Local intranet zone. Click on Sites button and uncheck all checkboxes in Local intranet dialog.
I want to know :
- what is the meaning of this error :
"SCRIPT12017: WebSocket Error: SECURITY_ERR, Cross zone connection not allowed"
and - why I have to make above changes in Internet options.
I have googled it but no luck.
答案1
得分: 1
-
这是一个与安全相关的错误。看起来您的网站正在尝试通过不允许的安全区域建立连接,与您的设置不符。
-
当您修改了站点中的选项并取消了勾选后,现在允许通过不同的安全区域建立连接,从而解决了该错误。
英文:
-
It is a security-related error. It looks like your site is trying for making a connection through different security zones which is not allowed as per your settings.
-
When you modified the settings by unchecking the options in sites, now it is allowed for making a connection through different security zones which fixed that error.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论