One page for every port, base URL and path prefix in the platform. Every other
page links here instead of repeating numbers.
Ports
| Surface |
Port |
Authority |
| Suite (botui) |
3000 |
botui/src/main.rs (unwrap_or(3000)) |
| Cloud (botui) |
4000 |
botui/src/main.rs (unwrap_or(4000)) |
| Login (botui) |
5000 |
botui/src/main.rs (unwrap_or(5000)) |
| API + WebSocket (botserver) |
8080 |
botlib/src/http_client.rs (DEFAULT_BOTSERVER_URL), botserver/src/main_module/routes/misc_handlers/handle_dns_remove.rs ("ports": { "api": 8080, "ws": 8080 }) |
| Production API (container) |
5858 |
container health endpoint (/health) |
| Deploy gateway |
5860 |
botserver/src/main_module/server/run_axum_server.rs (0.0.0.0:5860) |
The botserver port is config.server.port (botserver/src/main_body.rs); 8080
is the development default. Nothing in this repository binds 8000 or 9000.
Base URLs
| Use |
URL |
| REST |
http://localhost:8080/api |
| WebSocket |
ws://localhost:8080/ws |
| Suite |
http://localhost:3000 |
| Cloud |
http://localhost:4000 |
| Login / signup |
http://localhost:5000 |
Prefix rules
| Rule |
Evidence |
/api is the local REST prefix; the only local /api/v1 route is the legacy POST /api/v1/sandbox/exec |
grep -rn '"/api/v1' botserver/src botserver/crates returns one route literal (botserver/crates/botagent/src/lib.rs) plus external Microsoft Graph paths in botconnectors |
Drive file transfer is /api/files/*, not /files/* |
botserver/src/core/bot/api_catalog/commands_list.rs (/api/files/list, /api/files/write, …) |
/chat/* is not a REST prefix |
chat is the WebSocket pipeline (botserver/src/core/bot/ws/); the only /api/chat* routes are the history/session helpers |
| The deploy gateway listens on 5860 |
botserver/src/main_module/server/run_axum_server.rs (0.0.0.0:5860) |
| BotUI serves static files, botserver never serves a complete HTML page |
botui/src/main.rs; botserver returns API payloads and HTMX fragments only |
Who serves what
| Port |
Serves |
Does not serve |
| 3000 |
botui/ui/suite/* — chat, apps, desktop |
/cloud/* (explicit 404) |
| 4000 |
botui/ui/cloud/* — store, dashboard, plans |
/login, /signup (redirect 307 → 5000) |
| 5000 |
botui/ui/login/* — login, signup |
application pages |
| 8080 |
/api/*, /cloud/partials/*, /ws |
complete HTML pages |
Login/signup is exclusive to port 5000: GB_LOGIN_URL is injected into the
suite and cloud pages so the front end can redirect there without hardcoding.
Health and diagnostics
| Check |
Where |
GET /health |
botserver process (8080 dev, 5858 in the production container) |
| Process logs |
botserver.log (dev run), journalctl -u <service> inside containers |
Container and proxy layer
| Concern |
Value |
Authority |
| Reverse proxy |
Caddy in the proxy container; site block in /opt/gbo/conf/config |
proxy container config |
| Generated Caddyfile (installer path) |
conf/Caddyfile, sites system.<domain> → 8080, chat.<domain> → 3000, login.<domain> → 5000, alm.<domain> → 4747 |
botcorepkg::proxy_config |
| Forgejo (ALM) |
4747 |
container alm |
| CoreDNS |
53 |
container dns |
Production hostnames (system., chat., login., alm. subdomains) are
resolved by Caddy on the proxy container; the live hostnames table is that
config, not this repository.