libp2p / go-libp2p-examples

Example libp2p applications
MIT License
338 stars 145 forks source link

Couldn't find any peers when I open two different terminal windows to run the chat-with-mdns #75

Open Xiaoyang-Gu opened 5 years ago

Xiaoyang-Gu commented 5 years ago

I try to run two different terminal windows with the example of chat-with-mdns, but failed to connect with each other. I don't know something I have not configure will on my computer, Is this example use udp protocol to broadcast the node's information? It would be very grateful if you can tell me your suggestions! Thank you!

Xiaoyang-Gu commented 5 years ago

Every time when I register Notifee interface, it can‘t returns the peerchan.

corgi-kx commented 4 years ago

me too

JackBekket commented 4 years ago

Check out your mdns records via mdns browser. It may be problems with advertising of correct IP

xiaokugua250 commented 4 years ago

if you run your code in windows, you need check your computer with mdns service config https://superuser.com/questions/1330027/how-to-enable-mdns-on-windows-10-build-17134