Skip to content

Going from local discovery to public network discovery. #2804

Closed Answered by haider-rs
haider-rs asked this question in Q&A
Discussion options

You must be logged in to vote

I tried to connect both nodes on different network with IPFS bootstrap nodes and then i ran kademlia.bootstrap(). i had my kademlia address /ipfs/kad/1.0.0 and it keeps connecting with other peers but both nodes (Node A and B) was not able to detect each other though both were able to detect other nodes. Is it what we call NAT problem that both nodes doesn't even detect each other?

No its just distribution of nodes in bucket that Node A was not introduced to Node B yet but if I call Node A in get_closest_peer it does find it and adds it into bucket.

Will implementing relay in my node code making a third node i.e. Node C and running it on an open port solve my problem? like relay in thi…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@haider-rs
Comment options

Comment options

You must be logged in to vote
1 reply
@haider-rs
Comment options

Answer selected by haider-rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants