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
go build -o chat
action : ./chat
output :
[*] Listening on: 0.0.0.0 with port: 4001
[*] Your Multiaddress Is: /ip4/0.0.0.0/tcp/4001/p2p/QmXeuxABRy8LXk5TTic23xGjuLmMrZ2h9g2g1aERoQA4tH
Found peer: QmXeuxABRy8LXk5TTic23xGjuLmMrZ2h9g2g1aERoQA4tH , connecting
Connection failed: dial to self attempted
Stream open failed dial to self attempted
what is the issue ?
Its receiving it self as a peer and trying to connect to itself and also opening stream to itself .
this way the program is reaching end of code.
so there is no way to chat with others.
trying to run this example mdns chat app
https://github.com/libp2p/go-libp2p/tree/master/examples/chat-with-mdns
Reproduce :
go build -o chat
action : ./chat
output :
[*] Listening on: 0.0.0.0 with port: 4001
[*] Your Multiaddress Is: /ip4/0.0.0.0/tcp/4001/p2p/QmXeuxABRy8LXk5TTic23xGjuLmMrZ2h9g2g1aERoQA4tH
Found peer: QmXeuxABRy8LXk5TTic23xGjuLmMrZ2h9g2g1aERoQA4tH , connecting
Connection failed: dial to self attempted
Stream open failed dial to self attempted
what is the issue ?
Its receiving it self as a peer and trying to connect to itself and also opening stream to itself .
this way the program is reaching end of code.
so there is no way to chat with others.
Version Information
The text was updated successfully, but these errors were encountered: