Reputation: 7620
I am have created a C++ web socket server. I am trying to access it from IE 11 using web socket Javascript API. I am trying to connect to localhost.
function JSInit() {
try {
var host = "ws://127.0.0.1:25000/test";
remoteEngine = new WebSocket(host);
remoteEngine.onopen = onWebSocketOpen;
remoteEngine.onmessage = onRecvMessage;
remoteEngine.onclose = onWebSocketClose;
remoteEngine.onclose = onWebSocketError;
}
catch (err) {
alert(err.message);
}
}
Is there in any restriction on accessing ?Anyway to allow access to it.
Upvotes: 2
Views: 9562
Reputation: 1370
Please add the website to the zone of trusted sites at IE | Tools | Internet Options | Security and try again.
Upvotes: 0
Reputation: 7620
Localhost loop back is not allowed in IE 11 on Window 8 onwards
Upvotes: 1