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_TOKEN
Warning
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

PortPurpose
9000Agent control channel
9001Data tunnel connections
25565Default preferred public port
20000–30000Dynamic fallback range