Skip to the content.

ADR-0003: Port range 8421-8521 for Hercules agents

Status: Accepted Date: 2026-08-14

Context

Hercules agents currently default to port 5000, which conflicts with:

Need a dedicated port range that:

Decision

Port range 8421-8521. Default agent port = 8421.

Rationale

Conflicts checked

Service Port Conflict?
MySQL 3306 no
PostgreSQL 5432 no
Redis 6379 no
MongoDB 27017 no
RabbitMQ 5672, 15672 no
Kafka 9092 no
Node/React dev 3000 no
Astro (hercules-web) 4321 no
Flask/Synology/UPnP 5000 yes — this is why we migrate
Jupyter 8888 no
Prometheus 9090 no
Kibana 5601 no
Docker 2375-2377 no
K8s API 6443 no
VNC 5900 no
mDNS 5353 no

Consequences