Skip to main content
All CollectionsOur Command-line ToolUsing the command-line tool
Managing multiple instances using the command-line interface
Managing multiple instances using the command-line interface

How to connect to jottad on a remote machine.

Updated over 2 months ago

You can manange the command-line client on remote machines with the command-line interface .

The command-line interface (jotta-cli) allows you to connect to remote hosts running the jottad daemon. Use the -host option to specify the hostname or ip-address of the machine you want to manage.

Example: Display status from jottad on 192.168.10.10:

jotta-cli -host 192.168.10.10 status 

Note: Use jotta-cli without the -host option to manage localhost.

Connecting to jottad on a different host:

jottad listens on 127.0.0.1 and not 0.0.0.0. Listening to 127.0.0.1 means that jottad cannot receive connections from other hosts. To allow jottad to listen on all/or some interfaces you need to specfify the ListenAddr to listen on. This can be the IP belonging to a specific network interface or 0.0.0.0 which means jottad listens on all availiable interfaces (more information).

You can specify the address jottad listens on in the config file. For more information on this, see here.

Did this answer your question?