Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to see other machine's messages in gossip chat example #177

Open
PaTiToMaSteR opened this issue Jan 13, 2022 · 1 comment
Open

Comments

@PaTiToMaSteR
Copy link

PaTiToMaSteR commented Jan 13, 2022

hey guys! glad to be here, I'm really having trouble as I don't see any tutorials and I cannot see the messages in GOSSIP chat example between 2 different machines.
Machine A:

./example/03-gossip/gossip_chat_example -p 4444
I am /ip4/127.0.0.1/tcp/4444/p2p/12D3KooWG1PJZvLidoYh1AfvZ9aytAaSmgHSW58xrsaEm9abSJgq

Machine B:

./gossip_chat_example -p 4444 -r /ip4/PUBLIC_IP/tcp/4444/p2p/12D3KooWG1PJZvLidoYh1AfvZ9aytAaSmgHSW58xrsaEm9abSJgq
I am /ip4/127.0.0.1/tcp/4444/p2p/12D3KooWNpH8bakYn6uPn4veXp8QFMGFn6sPiaZJPjozYQchReJ9

I'm supposed to connect like that? because I see only my own messages, not the other machine.
I really appreciate any help! It's taking me days to understand why is not working -_-U

this: https://github.com/libp2p/cpp-libp2p/tree/master/example/03-gossip

@PaTiToMaSteR
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant