Skip to content

Running a node with dhtnode

Adrien Béraud edited this page Aug 26, 2015 · 39 revisions

dhtrunner is a command-line utility to run, control and monitor an OpenDHT node.

Running dhtnode

dhtnode -p port -b [bootstrap.hostname:port] ...

for instance:

dhtnode -p 4200 -b bootstrap.ring.cx:4222 will run a node on local port 4200, and use bootstrap.ring.cx port 4222 as a bootstrap node.

Commands

help

Show a command list with usage.

g {key}

Get values for {key}.

l {key}

Listen for value changes at {key}.

p {key} {string_value}

Put a text value at {key}.

Clone this wiki locally