Home / Port numbers / Port 2379
Port 2379: etcd
The key-value store behind Kubernetes. Port 2379 uses TCP.
- Port
- 2379
- Commonly used for
- etcd
- Transport
- TCP
- Encrypted
- Optional (TLS)
- Range
- User (registered) port, 1024 to 49151
- Our advice
- Keep it closed to the internet
- IANA registration
etcd-clientetcd client communication (TCP)
Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.
What port 2379 is used for
Port 2379 is the client port of etcd, a small distributed database. Kubernetes keeps its entire state in it, including every secret stored in the cluster. Port 2380 is used between etcd members.
Should port 2379 be open?
Reading etcd means reading every password and token the cluster holds, and writing to it means controlling the cluster. Thousands of unauthenticated etcd servers have been found exposed. It should accept connections only from the API server, with client certificates.
Related ports
- Port 6443 (Kubernetes API server): the control point of a Kubernetes cluster
- Port 10250 (Kubelet API): the agent on each Kubernetes node
- Port 2181 (Apache ZooKeeper): coordination service used by Kafka, Hadoop and others
See all port numbers for the full list and how ports, TCP and UDP work.
Previous: Port 2376 (Docker API (TLS)) · Next: Port 2456 (Valheim)