Skip to main content
PORT 2376 / TCPInfrastructure & CloudExposure Risk: Medium

Port 2376: Docker TLS — Encrypted Docker Remote API

TLS-secured Docker daemon communication port.

Default Service
Docker TLS
Process: dockerd
Transport Protocol
TCP
IANA Registered Port 2376
Docker Port Flag
-p 2376:2376
Container to Host Mapping

How to Check & Kill Process on Port 2376 (EADDRINUSE Fix)

macOS & Linux (lsof / kill)
# Find process using port 2376
sudo lsof -i :2376

# Instantly kill process on port 2376
lsof -ti:2376 | xargs kill -9
Windows (PowerShell & CMD)
# Find PID listening on port 2376
netstat -ano | findstr :2376

# Force kill by PID
taskkill /PID <PID_NUMBER> /F
Cross-Platform Node.js One-Liner
# Kill port 2376 via npx
npx kill-port 2376

# Or diagnose via Castov CLI
npx castov fix "EADDRINUSE :::2376"
Linux Firewall (UFW) & Connectivity Test
# Test if port 2376 is reachable
nc -zv localhost 2376

# Allow or deny port 2376 in UFW
sudo ufw allow 2376/tcp

Frequently Asked Questions about Port 2376

What is Port 2376 used for?

Port 2376 is the standard network port for Docker TLS (Encrypted Docker Remote API) operating over TCP. The typical system daemon or process is dockerd.

How do I kill a process running on Port 2376 (EADDRINUSE)?

On macOS and Linux, run: lsof -ti:2376 | xargs kill -9 (or npx kill-port 2376). On Windows PowerShell/CMD, run: netstat -ano | findstr :2376 and then taskkill /PID <PID> /F.

Is it safe to expose Port 2376 to the internet?

Port 2376 has a Medium security risk profile. TLS-secured Docker daemon communication port.

Other Common Network Ports