Running js-ipfs nodes locally with no internet

Hi,

I’ve been experimenting with js-ipfs and I noticed that when the internet connection is down, but I am still connected to the local network, the nodes running in browsers can’t communicate.

The error displayed is “websocket.js:118 WebSocket connection to ‘wss://[ws-star.discovery.libp2p.io/socket.io/?EIO=3&transport=websocket]’ failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED”
To fix this I should add one of them as a bootstrap note to the rest? How could this be achieved? What is the root cause of this issue?

Thanks!