Port 2375 / TCP
Docker Daemon (Plain)
Port 2375 – Docker Daemon (Plain) Protocol Specification
Technical analysis, security advisories, vulnerability mitigation, and firewall syntax for TCP/UDP port 2375 (Docker Daemon (Plain)).
Port Number
2375
Transport Protocol
TCP
Port Range Type
Registered (1024-49151)
Default Status
Restricted / LAN
Service Description & Architectural Context
Unencrypted Docker Engine REST API socket.
IANA / RFC Designation:
Port 2375 is assigned to Docker Daemon (Plain) under the Internet Assigned Numbers Authority (IANA) service name registry. In enterprise infrastructure and homelab setups, services listening on this port must follow the principle of least privilege.
Security Analysis & Attack Surface Assessment
DANGER: Anyone with network access can execute root containers. NEVER expose.
Hardening Recommendations:
- Do not expose port 2375 to public WAN interfaces unless authenticated TLS or VPN wrapping is strictly enforced.
- Enforce rate-limiting using Fail2ban, CrowdSec, or cloud edge DDoS protection.
- Audit active listening sockets locally:
ss -tulpn | grep :2375ornetstat -ano | findstr :2375.
Firewall Rule Snippets for Port 2375
UFW (Ubuntu / Debian Linux)
sudo ufw allow 2375/tcp
iptables (Standard Linux Kernel)
sudo iptables -A INPUT -p tcp --dport 2375 -j ACCEPT
Windows PowerShell (Defender Advanced Firewall)
New-NetFirewallRule -DisplayName "Allow Port 2375" -Direction Inbound -LocalPort 2375 -Protocol TCP -Action Allow