CyberHunter
// DevOps, cloud & containers

Port 2380: etcd server to server communication

Port 2380 is assigned by IANA to etcd-server (etcd server to server communication).

2380

How etcd-server works

DevOps, cloud & containers
adminhostetcd-server adminhostetcd-server

Commands sent to port 2380 create and control containers or cluster resources on the host.

Transport
TCP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
01 Security

Is port 2380 dangerous?

We have no specific security note for port 2380. Its risk depends on the program actually listening on it. General advice for devops, cloud & containers services:

  • Container and orchestration APIs give full control of hosts: require mutual TLS and RBAC.
  • Never expose them to the Internet.
  • Rotate tokens and certificates and audit who has access.
02 Registry

IANA registry entries for port 2380

ServicePortTransportDescriptionReferenceUpdated
etcd-server 2380 TCP etcd server to server communication - 2014-07-09
-2380-Reserved--

// source: IANA service name and port number registry

03 Check it

Which program uses port 2380, and is it reachable?

Linux

sudo ss -ltnup 'sport = :2380'      # process listening on 2380
sudo lsof -nP -i :2380

macOS

sudo lsof -nP -i :2380

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 2380 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 2380
netstat -ano | findstr :2380

From another machine

nmap -p 2380 -sV <host>
nc -zv <host> 2380

Block it in the firewall

sudo ufw deny 2380/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 2380" -Direction Inbound -LocalPort 2380 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 2380 used for?

Port 2380 is assigned by IANA to etcd-server (etcd server to server communication).

Is port 2380 TCP or UDP?

Port 2380 is registered for TCP.

Is it safe to open port 2380?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Container and orchestration APIs give full control of hosts: require mutual TLS and RBAC.

How do I check if port 2380 is open?

On Linux run "ss -ltnup 'sport = :2380'", on macOS "lsof -nP -i :2380", and on Windows "netstat -ano | findstr :2380" to see the local process. From another machine, "nmap -p 2380 <host>" shows whether it is reachable.

05 Related