Chrome 新版默认阻止内网请求
报错:
Access to XMLHttpRequest at XXXXX from origin XXXXXXX has been blocked
by CORS policy: The request client is not a secure context and the
resource is in more-private address space XXXX.
2026.02.26 更新
最新版 Chrome 已经没有 “block-insecure-private-network-requests” 设置选项了
推荐解决方法:源地址和请求地址全部用 https
解决办法:
chrome://flags/#block-insecure-private-network-requests
设置为 Disabled
评论已关闭