I am not sure if the scenario is possible, and I could not find something that it is not. I would like to embed multiple iframes in my web application (react). I have a websocket server on localhost or eventually inside my local network. Is it possible to connect to the websocket server from inside the iframes? All iframes have a different domain and also different from the page in which they are hosted. The connection should be secure.