Skip to main content
Version: 8.2

Network ports

The broker cluster sits behind the gRPC Gateway, which handles all requests from clients/workers and forwards events to brokers.

Gateway

The gateway needs to receive communication via zeebe.gateway.network.port: 26500 from clients/workers, and zeebe.gateway.cluster.initialContactPoints: [127.0.0.1:26502] from brokers.

note

You can use all broker connections instead of one to make the startup process of the Zeebe gateway more resilient.

The relevant configuration settings are:

Config file
zeebe:
gateway:
network:
port: 26500
cluster:
initialContactPoints: [127.0.0.1:26502]


Environment Variables
ZEEBE_GATEWAY_CLUSTER_NETWORK_PORT = 26500
ZEEBE_GATEWAY_CLUSTER_INITIALCONTACTPOINTS = 127.0.0.1:26502

Broker

The broker needs to receive communication from the gateway and from other brokers. It also exposes a port for monitoring.

  • zeebe.broker.network.commandApi.port: 26501: Gateway-to-broker communication, using an internal SBE (Simple Binary Encoding) protocol. This is the Command API port. This should be exposed to the gateway.
  • zeebe.broker.network.internalApi.port: 26502: Inter-broker clustering using the Gossip and Raft protocols for partition replication, broker elections, topology sharing, and message subscriptions. This should be exposed to other brokers and the gateway.
  • zeebe.broker.network.monitoringApi.port: 9600: Metrics and Readiness Probe. Prometheus metrics are exported on the route /metrics. There is a readiness probe on /ready.

The relevant configuration settings are:

Config file
zeebe:
broker:
network:
commandAPI:
port: 26501
internalAPI:
port: 26502
monitoringApi
port: 9600

Environment Variables
ZEEBE_BROKER_NETWORK_COMMANDAPI_PORT = 26501
ZEEBE_BROKER_NETWORK_INTERNALAPI_PORT = 26501
ZEEBE_BROKER_NETWORK_MONITORINGAPI_PORT = 26501