zeroc-ice / ice-demos

Sample programs for Ice
https://zeroc.com
GNU General Public License v2.0
325 stars 217 forks source link

Edge Cross zone connection not allowed #79

Closed pepone closed 5 years ago

pepone commented 5 years ago

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
pepone commented 5 years ago

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