Can an IPFS node created in the browser connect to node created by running go-ipfs? I can’t seem to make the two see each other as peers.
1 Like
Since browser JS can only use WebSocket (and WebRTC), first you need to configure go-ipfs node to listen on WebSocket protocol. https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#addressesswarm
Then the browser node can be connected to go-ipfs node using swarm.connect
or bootstrap list.
1 Like