Otii Server

Command Line Interface

You can also start the TCP server using otii_server, the command line version of Otii.

The server is packaged within the application and to find where it is located on your system, select Help › Find otii_server in Otii 3.

If you run otii_server with the --help option you will see all available options:

# otii_server --help

  -V, --version               output the version number
  -v, --verbose               verbose output
  -c, --config <config-file>  configuration file
  -h, --help                  display help for command

To start a server run the command:


The server is by default listening on host address and port 1905. If you want to change the default settings, or need to add settings for a proxy, create a config.json file:

    "tcpserver": {
        "host": "",
        "port": 1907
    "proxy": {
        "host": "",
        "port": "8080",
        "auth": {
            "username": "johndoe",
            "password": "mypassword"

and start the server with:

./otii_server --config config.json

The server will run until you stop it by pressing Ctrl-C.

In a future release Otii will ship with tools that will make it possible to run otii_server as a Windows Service, or a daemon in Ubuntu and macOS.

Last updated