maidsafe/qp2p

Chat example

Closed this issue · 2 comments

Hello,
I can't get the chat example running since ourinfo always returns an error, I can't copy any information to use the addpeer command

>> ourinfo
Error getting ourinfo: There's no endpoint echo server to ask. Current network configuration

Do I need to add a certain configuration on startup?

Thanks in advance

Hello @caemor!
This means the chat couldn't use any public echo server to find out your IP. If you run it locally, or if you know your public IP address already, you can run the example like this:

cargo run --example chat -- --ip 127.0.0.1

Please let me know if this doesn't work for you.

Still getting the same error.

The bootstrap+client node is working for me 🤔

🤦‍♂️ I seems like I had played around with the chat example already

Its working now with your instructions 👍

Thanks :-)