zeroc-ice/ice-demos

Edge Cross zone connection not allowed

Closed this issue · 1 comments

Running Manual/simpleFileSystem from http://127.0.0.1:8080/Manual/simpleFileSystem/index.html

Fails with a Ice::ConnectFailedException

WebSocket Error: SECURITY_ERR, Cross zone connection not allowed

The server hard-codes localhost in the endpoint, and Edge doesn't allow to connect to localhost if browser started from a different address 127.0.0.1 in this case. I updating the gulpfile to start the browser from localhost rather than from 127.0.0.1