Skip to content
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.

crust_node example returns a port as an endpoint #61

Closed
Fraser999 opened this issue Apr 29, 2015 · 1 comment
Closed

crust_node example returns a port as an endpoint #61

Fraser999 opened this issue Apr 29, 2015 · 1 comment

Comments

@Fraser999
Copy link
Contributor

When trying to bootstrap to an existing "server" crust node by doing

target\debug\examples\crust_node.exe 5555 -b 5483

I get the following output:

Failed to parse bootstrap peer as valid IPv4 or IPv6 address: 5483

This implies that the server is returning a port as an endpoint.

@maqi
Copy link
Contributor

maqi commented Apr 30, 2015

when -b option is to be used, the format of peer address shall be like : 0.0.0.0:5483
-b option is actually more like asking the new node to "connect" to peer, so a full IPv4 or IPv6 address is expected.
This has been shown in the usage part in the code : Line 58 - Line 67

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

No branches or pull requests

2 participants