Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Microsoft Edge blocked cross-domain requests to IPs in same CIDR of private network

$
0
0
$.ajax({
    url: "http://10.13.22.150/req_path",
    success: function(result){
        console.log(result);
    }
});

I'd like to send Cross-Domain XMLHttpRequest to an ip address in the private network.

However, the following error is shown in console of developer tools:

SCRIPT7002: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd.

According to Wireshark, the packet is not sent from client side. I guess the request is blocked by Microsoft Edge

Furthermore, I found that the requests are only blocked if the url of XMLHttpRequest and Edge client are in the same CIDR of private network.

Client IP                   Request URL                   Result
192.168.x.x  send to  192.168.x.x      ->>>>>   X
10.13.x.x      send to  10.13.x.x          ->>>>>   X
10.13.x.x      send to  192.168.x.x       ->>>>>   O

Other browsers like IE11 / Chrome / Firework work just fine. This circumstance is only shown in Microsoft Edge.

Is there any workaround or solution about this issue?



Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>