# Can an IPFS node created in the browser connect to node created by running go-ipfs

**URL:** <https://discuss.ipfs.tech/t/can-an-ipfs-node-created-in-the-browser-connect-to-node-created-by-running-go-ipfs/8010>\
**Category:** Uncategorized\
**Created:** [May 17, 2020, 11:22am UTC](https://discuss.ipfs.tech/t/can-an-ipfs-node-created-in-the-browser-connect-to-node-created-by-running-go-ipfs/8010 "2020-05-17T11:22:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![finlaybweber](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/finlaybweber/32/5868_2.png) [@finlaybweber](https://discuss.ipfs.tech/u/finlaybweber)\
**Post date:** [May 17, 2020, 11:22am UTC](https://discuss.ipfs.tech/t/can-an-ipfs-node-created-in-the-browser-connect-to-node-created-by-running-go-ipfs/8010/1 "2020-05-17T11:22:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![sinkuu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/sinkuu/32/3523_2.png) [@sinkuu](https://discuss.ipfs.tech/u/sinkuu)\
**Post date:** [May 18, 2020, 11:28am UTC](https://discuss.ipfs.tech/t/can-an-ipfs-node-created-in-the-browser-connect-to-node-created-by-running-go-ipfs/8010/2 "2020-05-18T11:28:34Z")

</div>

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](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.
