Vikram Ranabhatt
Vikram Ranabhatt

Reputation: 7620

Web socket client connection issue in Windows 8.1+ IE 11 + loopback not allowed

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

Answers (2)

Rachel
Rachel

Reputation: 1370

Please add the website to the zone of trusted sites at IE | Tools | Internet Options | Security and try again.

Upvotes: 0

Related Questions