You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this good project. I have been trying to use this project to test the peer to peer discovery. I have the following setup. (2 nodes over NAT and one Non-NATed bootstrap node)
A public ip (vps on DigitalOcean) as a Bootstrap Node with the following code:
Computer B behind NAT (at home) with the same source code as Computer A.
Those 2 nodes could connect the bootstrap node. My problem is that I can't make those 2 nodes to connect to each other through bootstrap node.
In Computer B - The response was kademlia.protocol - WARNING - no response from <Computer A's NAT's external IP>:46357, removing from router
In Computer A - Vice versa
Since I'm new to "P2P Network" (Kademlia), perhaps I missed or did something wrong. I've tried to search for the answers on the internet for many days, but no luck. There aren't many documents about this problem either.
Could you help guide me how to connect those 2 nodes over NAT? Or source code would be highly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered:
If both machines are behind a NAT, then UDP hole punching won't work and the two machines won't be able to talk to each other. Eventually, we could come up with a way of coordinating mutual hole punching using a coordination node, but that would require a lot of work.
Hello,
Thanks for this good project. I have been trying to use this project to test the peer to peer discovery. I have the following setup. (2 nodes over NAT and one Non-NATed bootstrap node)
Those 2 nodes could connect the bootstrap node. My problem is that I can't make those 2 nodes to connect to each other through bootstrap node.
In Computer B - The response was kademlia.protocol - WARNING - no response from <Computer A's NAT's external IP>:46357, removing from router
In Computer A - Vice versa
Since I'm new to "P2P Network" (Kademlia), perhaps I missed or did something wrong. I've tried to search for the answers on the internet for many days, but no luck. There aren't many documents about this problem either.
Could you help guide me how to connect those 2 nodes over NAT? Or source code would be highly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: