Port 2375: Docker API (plain)

Port 2375 (TCP) is used by Docker API (plain). Unencrypted Docker daemon API. Exposing it gives root on the host to anyone.

2375Port
TCPProtocol
dockerIANA service name
DevOps & dev serversCategory

Port range

2375 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.

Security

Port 2375 should not be reachable from the public internet. Restrict it to trusted networks or a VPN, and scan your public IP to confirm it is closed.

Open port 2375 in a firewall

ufw         sudo ufw allow 2375/tcp
iptables    sudo iptables -A INPUT -p tcp --dport 2375 -j ACCEPT
firewalld   sudo firewall-cmd --permanent --add-port=2375/tcp
Windows     New-NetFirewallRule -DisplayName "Docker API (plain) 2375" -Direction Inbound -Protocol TCP -LocalPort 2375 -Action Allow

Check if port 2375 is open

nc -vz example.com 2375
Test-NetConnection example.com -Port 2375   # PowerShell
sudo ss -tulpn | grep ':2375 '   # what is listening locally (Linux)

Other devops & dev servers ports

Frequently asked questions

What is port 2375 used for?
Docker API (plain). Unencrypted Docker daemon API. Exposing it gives root on the host to anyone.
Is port 2375 TCP or UDP?
TCP.