orbitdb / field-manual

The Offical User's Guide to OrbitDB
208 stars 43 forks source link

Does database replication require port-forwarding? #72

Closed distbit0 closed 2 years ago

distbit0 commented 5 years ago

Do nodes need to have a port forwarded to accept incoming connections for orbit-eb database replication to occur between them? Could two nodes replicate their databases between each other if both of them didn't have port forwarding enabled and were on different networks?

m00nwtchr commented 5 years ago

Yes nodes do need to have port-forwarding for communication unless you will tell ipfs to use an external signal server like in orbitdb/orbit-db#468 Altho I'm pretty sure that go-ipfs and js-ipfs (in Node.js) solve this automatically and only when using js-ipfs in the browser you need tweaking

aphelionz commented 4 years ago

Moving this to the Field Manual to go into more detail