mdns peerDiscovery does not trigger peer:discover event #3052
Unanswered
pcontezini
asked this question in
Q&A
Replies: 1 comment
-
Does this minimal example work for you?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using libp2p-js and can't figure out why my two test nodes, running on two machines with different ports, can't find each other using mdns. I'm also bootstrapping with a server node, but since I'm using both peerDiscover methods, they should be able to find each other easily.
They do print each other in mdns debug logs, but the event peer discovery is never triggered for the mdns method:
libp2p:mdns peer found 12D3KooWFgSnxaTQLYg7Z9hY6WSHGwmwnHH3yGJo7jK3ELx72TPP +6s
libp2p:mdns discovered peer in mDNS query response 12D3KooWFgSnxaTQLYg7Z9hY6WSHGwmwnHH3yGJo7jK3ELx72TPP +0ms
Did anyone face the same situation?
Here is my config:
Beta Was this translation helpful? Give feedback.
All reactions