Skip to content

Network Ports

Reference tables for every network connection in a Brokkr deployment. For the reasoning behind the topology, see Network Flows; for configuration steps, see the Network Configuration how-to.

Port Component Protocol Purpose
3000 Broker HTTP/HTTPS All API traffic (REST, internal WS, consumer live WS, /healthz, /readyz, /metrics) and the embedded Operator Console served at /
8080 Agent HTTP Health and metrics server (/healthz, /readyz, /health, /metrics)
5432 PostgreSQL TCP Database (standard port; in-cluster and most external deployments)
5433 PostgreSQL TCP Host-mapped port used by the local development docker-compose environment (reflected in the default BROKKR__DATABASE__URL)
4317 OTLP Collector gRPC Distributed tracing (optional)
6443 Kubernetes API HTTPS Target-cluster API server (agent egress)
443 Ingress / webhooks HTTPS External TLS entry point; webhook delivery egress

External PostgreSQL deployments may use other ports, configured via postgresql.external.port.

Port 3000 carries the Operator Console as well as the API. A browser that can reach the broker root URL is served the console page, which carries a read-only credential — network reachability of port 3000 is therefore the access boundary for read-only visibility into the deployment, not merely for API calls by credentialed clients. Firewall rules for this port should be planned on that basis.

Source Destination Port Protocol Direction Required Purpose
Admin (CLI/API client) Broker 3000 HTTPS Inbound Yes API access, management operations
Browser (Operator Console) Broker 3000 HTTPS Inbound Optional Console page, then read-only API and live WS calls from the page
Generator Broker 3000 HTTPS Inbound Yes Stack and deployment object creation
Agent Broker 3000 HTTPS Outbound Yes Fetch deployments, report events (REST + internal WS)
Broker PostgreSQL 5432 TCP Internal Yes Database operations
Agent K8s API 443 or 6443 HTTPS Local Yes Resource management (managed clusters commonly serve the API on 443; the agent NetworkPolicy allows both)
Broker Webhook endpoints 443, 80 HTTPS/HTTP Outbound Optional Event notifications (the broker NetworkPolicy opens both ports; the port used is whatever the subscription URL specifies)
Prometheus Broker 3000 HTTP Inbound Optional Metrics scraping at /metrics
Prometheus Agent 8080 HTTP Inbound Optional Metrics scraping at /metrics
Broker OTLP Collector 4317 gRPC Outbound Optional Distributed tracing
Agent OTLP Collector 4317 gRPC Outbound Optional Distributed tracing

Broker host:

Direction Port Protocol Source/Destination Purpose
Inbound 3000 (or 443 via ingress) TCP Agents, Admins, Generators, console browsers API access and Operator Console
Outbound 5432 TCP PostgreSQL database Database connectivity
Outbound 443 and 80 TCP Webhook endpoints Event delivery

Agent host:

Direction Port Protocol Source/Destination Purpose
Outbound 3000 or 443 TCP Broker API communication
Outbound 443 and 6443 TCP Kubernetes API server Cluster management