Client Configuration

Configure the Exposr client.

Configuration file

Client configuration is stored in:

text
~/.exposr/config.json

Example contents:

~/.exposr/config.json
{
  "server_host": "20.198.81.254"
}

Agent token

The agent token is stored separately:

text
~/.exposr/agent_token.txt

This token is generated automatically when you run exposr config set-server and is sent with every control registration request.

CLI overrides

You can override saved settings per-run:

FlagDefaultDescription
--server-hostconfig.jsonServer address
--control-port9000Control port
--data-port9001Data port
--local-host127.0.0.1Local host to forward to