Public Ports
How public ports work in Exposr.
Overview
Public ports are the externally accessible ports on the relay server that internet users connect to. Each active tunnel owns one public port. The relay server listens on these ports and forwards incoming traffic through the tunnel to the local service.
Port table
| Port | Purpose |
|---|---|
| 9000 | Control channel (agent ↔ server) |
| 9001 | Data channel (per-connection tunnels) |
| 25565 | Default preferred public port |
| 20000–30000 | Dynamic fallback public port range |
Port ownership
The server tracks which agent owns each public port. A port can only be used by one agent at a time. When an agent disconnects, its port is released and becomes available for other agents.
Note
All public ports and the full dynamic range must be allowed through the relay server's firewall or cloud security group for external users to reach exposed services.