Port 2379
Port 2379 etcd key value store
etcd answers on port 2379. In a Kubernetes cluster it holds every object, secrets included.
What is port 2379 used for?
Port 2379 is the client port of etcd, a distributed key value store. Kubernetes uses it to keep the state of the whole cluster, and many other systems use it for configuration. Members of an etcd cluster talk to each other on port 2380.
etcd can run without authentication, and in that case anyone who reaches the port can read and change every key.
Why attackers want it
An open etcd gives away a Kubernetes cluster's secrets, tokens and configuration, and lets an attacker change them. From there they can run containers anywhere in the cluster.
Who scans port 2379
Every address that scanned port 2379 from 28 October to 27 November 2026, with known scanners left out.
- AS5089Virgin Media Limited 1.696
- AS2856British Telecommunications PLC 1.653
- AS3215Orange S.A. 1.622
- AS8708DIGI ROMANIA S.A. 1.613
- AS577Bell Canada 1.588
- AS12322Free SAS 1.305
- AS5607Sky UK Limited 1.241
- AS8075Microsoft Corporation 1.218
- AS5410Bouygues Telecom SA 1.163
- AS55836Reliance Jio Infocomm Limited 1.124
- United States of America 8.055
- United Kingdom 7.682
- Canada 6.385
- France 5.497
- India 4.429
- Romania 2.278
- Germany 1.066
- Netherlands 943
- Japan 536
- People's Republic of China 486
Should port 2379 be open?
Port 2379 should never be reachable from the internet. Allow only the control plane, and require client certificates for every connection.
Keep it on the control plane
Drop inbound TCP 2379 and 2380 at the edge, and allow only the API servers and etcd members.
Require client certificates
Run etcd with TLS and client certificate authentication, so only trusted components can connect.
Encrypt secrets at rest
Turn on encryption of Kubernetes secrets, so a copy of the data does not reveal them.
Port 2379 questions
What is port 2379 used for?
Port 2379 is the client port of etcd, the key value store behind Kubernetes. Port 2380 carries traffic between etcd members.
Is it safe to expose etcd on port 2379?
No. Without client certificates anyone can read and change every key, which in Kubernetes includes all secrets.
Why do scanners look for etcd?
An open etcd can hand over a whole Kubernetes cluster, with its secrets and the power to run containers in it.
How do I block port 2379?
Drop inbound TCP 2379 and 2380 on your firewall and require client certificates. An IP blocklist of active scanners stops the sources that look for it.
Block the sources that scan port 2379.
An hourly IP feed of active scanners keeps them away from this port and everything else you run.