Server Configuration
Configure the Exposr relay server.
Configuration file
~/.exposr/config.json
{
"server_host": "",
"agent_token": "YOUR_AGENT_TOKEN"
}Token setup
Initialize the token on the server:
bash
exposr server init-token YOUR_TOKENWarning
The server must be initialized with a token before it can accept agents. Without a matching token, all agent connections will be rejected.
Default ports
| Port | Purpose |
|---|---|
| 9000 | Agent control channel |
| 9001 | Data tunnel connections |
| 25565 | Default preferred public port |
| 20000–30000 | Dynamic fallback range |