Skip to content

Default Ports

LoomCache has one binary member listener and optional HTTP listeners. Keep them separate: seed lists always point to the binary member port, never to metrics or REST.

PortListenerDefault ownerConfiguration
5701Binary cluster/member TCPJVM/server config and Spring Boot node bindingport, loomcache.port, loomcache.node.port, seed addresses
7654Binary cluster/member TCP in samplesDockerfile and Kubernetes manifestsDocker CMD, LOOMCACHE_NODE_PORT, sample service ports
9090Prometheus scrape port in samplesKubernetes service to Spring Actuator, or direct metrics listenerservice metrics port, loomcache.metrics-port, LOOMCACHE_METRICS_PORT
8080Spring Boot HTTP / RESTSpring Boot web serverserver.port
4317OpenTelemetry OTLP endpointTracing exporter endpointoutbound collector target
  • ClusterConfig and LoomConfig default the binary member port to 5701.
  • Spring Boot embedded nodes bind with loomcache.node.port; default 5701.
  • loomcache.server.port is legacy in the current Spring Boot wiring. CacheNodeConfig warns when it differs from loomcache.node.port.
  • Docker and Kubernetes samples use binary member port 7654; keep seeds, container ports, service ports, and clients aligned to that value when using those samples unchanged.
  • Kubernetes metrics service port 9090 targets the Spring HTTPS listener and /actuator/prometheus; direct JVM metrics use http://<node>:9090/metrics only when the standalone metrics listener is started.
Deployment shapeBinary member portMetrics portREST/HTTP port
Local JVM / bare metal5701, 5702, 5703 per node9090, 9091, 9092 if collocated8080 only when Boot REST is enabled
Docker Compose samplecontainer 7654, host 7654/7655/7656container 9090, host 9090/9091/9092container 8080, host 8080/8081/8082
Kubernetes sampleservice/container 7654service/container 9090service/container 8080
Embedded library modedefault 5701 or explicit .port(...)none unless started.enableRest(port) only when requested

For the root repository reference, see PORTS.md.