Written by Ruben Selby, founder and penetration tester at Wolfcore. Last reviewed 17 November 2026. Part of the Ports and protocols library.
In one sentence: Port 2375 lets another computer give orders to Docker, the tool that runs your containers, with no password and no encryption, so if it is open to the internet a stranger can run software on your server.
What runs on this port
Docker is software that runs applications in packages called containers. Docker’s own documentation says that by default it talks through a local, non-networked UNIX socket. It can also be set up to listen on the network over SSH or TLS. Docker says its TLS (HTTPS) mode should run on TCP port 2376.
Port 2375 is the unencrypted version. BleepingComputer, reporting Trend Micro research, describes it as the Docker daemon port which allows unencrypted and unauthenticated communication. Teams sometimes switch it on so that a build tool or a colleague can reach Docker from another machine, then forget it.
Why attackers look for it
Trend Micro’s research, as reported by BleepingComputer, found that the attacks began with an internet scan sending connection requests to port 2375 and then connecting to every live host found. No guessing of passwords is needed, because the port asks for none.
How it gets attacked
Docker’s TLS guidance warns that anyone with the client keys can give any instruction to the daemon, which gives them root access to the machine that hosts it. Without TLS on 2375, that “anyone” is anyone who can reach the port.
Trend Micro, quoted by BleepingComputer, says that allowing external access to these API ports lets attackers gain ownership of the host, poison the containers running on it with malware and gain remote access to servers and hardware resources. In the campaigns reported, attackers used this to run botnet malware and cryptocurrency miners. This is not a software bug. The feature is working as designed, on a port that should never face the internet.
Who it affects and how badly
- Sole trader to 10 staff (developers, SaaS start-ups, agencies): a test or build server on a cloud account. Worst case is a hijacked server running someone else’s software, a cloud bill you did not expect and the loss of anything stored on it.
- 10 to 50 and 50 to 250 staff (MSPs, fintech, recruitment platforms): a container host shares a network with other systems. Worst case is attackers using the host as a stepping stone and reaching customer data.
- Regulated and 250 plus: container hosts that hold or can reach personal data. Worst case is a notifiable breach and an audit finding that a basic network control was missing.
Real examples
- Dofloo botnet via exposed Docker APIs (2019). BleepingComputer, reporting Trend Micro research, says attackers scanned for port 2375 and used it to deploy the Dofloo (AESDDoS) malware, a tool for building botnets that launch denial-of-service attacks. The same article notes earlier cryptocurrency mining campaigns against misconfigured Docker services in 2018, and one campaign that used the runc flaw CVE-2019-5736 to gain root-level code execution. Source: https://www.bleepingcomputer.com/news/security/exposed-docker-apis-abused-by-ddos-cryptojacking-botnet-malware/
This is an older report. The pattern, an administrative port facing the internet, has not changed.
The UK angle
The ICO’s data security guidance expects “appropriate technical and organisational measures” and testing of them, and names penetration testing as an example (https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/security/a-guide-to-data-security/). A container host that hands control to any caller does not fit that description.
A short worked example (illustration, not a real case)
A six-person software firm lets a contractor run builds from their laptop. A developer opens port 2375 on a cloud test server for a week to make this work. The rule stays. A scan finds it. Within hours the server is running software the firm did not install, and the cloud bill rises. The firm has to rebuild the server, rotate every secret that was stored on it and tell any customer whose test data was there. The fix would have taken one firewall change and an SSH connection.
What we check on a test
Method only, not findings.
- Whether 2375 and 2376 answer from outside, and whether the daemon demands client certificates.
- Whether the Docker socket is mounted into containers or build runners that do not need it.
- Whether firewall and cloud rules were opened for a “temporary” reason and never closed.
- What the host can reach: cloud credentials, other servers, customer data.
- Whether containers run as root and with more privileges than they need.
How to check whether yours is exposed
- List every server that runs Docker, including build servers and developer VMs.
- Look in the Docker daemon settings for a tcp:// listener.
- Read firewall and cloud security group rules for 2375 and 2376 open to any address.
- Run our free scan from outside your network: https://wolfcore.co.uk/free-web-vulnerability-scan/
How to secure it
- Do not expose 2375. Use the default local socket.
- If you need remote access, use Docker over SSH, as Docker’s documentation describes.
- If you must listen on the network, use TLS on 2376 with client certificate checking (tlsverify) and guard the keys like a root password, as Docker advises.
- Restrict 2375 and 2376 at the firewall to named management addresses.
- Do not mount the Docker socket into containers unless you must.
- If a daemon was ever exposed, review running containers, images and outbound connections, and rotate the secrets the host could reach.
FAQ
Which port is Docker TLS? Docker says TLS access runs on TCP port 2376.
Does port 2375 need a password? No. BleepingComputer describes it as unencrypted and unauthenticated.
Is this a bug in Docker? No. It is a configuration that exposes an administrative interface.
Related terms
port-6379-redis, port-22-ssh, cloud-shared-responsibility-model, data-exfiltration, least-privilege, how-to-check-which-ports-are-open-on-your-network
How Wolfcore helps
A Wolfcore penetration test finds this the way an attacker would, by hand, not with a scanner. Start with the free web vulnerability scan or read about penetration testing.
Wolfcore
Would your staff click a phishing email?
Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.
Start a free phishing testFree website security scanor book a 30 minute call