Client Configuration
Configure the Exposr client.
Configuration file
Client configuration is stored in:
text
~/.exposr/config.jsonExample contents:
~/.exposr/config.json
{
"server_host": "20.198.81.254"
}Agent token
The agent token is stored separately:
text
~/.exposr/agent_token.txtThis 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:
| Flag | Default | Description |
|---|---|---|
| --server-host | config.json | Server address |
| --control-port | 9000 | Control port |
| --data-port | 9001 | Data port |
| --local-host | 127.0.0.1 | Local host to forward to |