Port 5000
Port 5000 MLflow and development servers
MLflow, Flask and private Docker registries all default to port 5000. Each one hands out data or code when left open.
What is port 5000 used for?
Port 5000 is the default port of the MLflow tracking server, the Flask development server and the Docker registry. Synology storage devices serve their DSM login over HTTP on it too.
Most of these tools come without sign in and expect to run on a private network.
Why attackers want it
An open MLflow server exposes experiments, models and the files stored with them, and older versions had flaws that read files from the server. An open Docker registry lets anyone pull private images, often with secrets inside, or push poisoned ones.
Who scans port 5000
Every address that scanned port 5000 from 28 October to 27 November 2026, with known scanners left out.
- AS14061DigitalOcean, LLC 4.235
- AS7922Comcast Cable Communications, LLC 2.452
- AS45102Alibaba (US) Technology Co., Ltd. 1.217
- AS7018AT&T Enterprises, LLC 1.061
- AS16509Amazon.com, Inc. 926
- AS701Verizon Business 865
- AS21928T-Mobile USA, Inc. 860
- AS4837CHINA UNICOM China169 Backbone 848
- AS5089Virgin Media Limited 847
- AS2856British Telecommunications PLC 808
- United States of America 18.902
- United Kingdom 4.547
- People's Republic of China 2.984
- Germany 2.219
- Netherlands 1.093
- Singapore 1.092
- Canada 990
- Ireland 778
- India 774
- Hong Kong 689
Should port 5000 be open?
Port 5000 should not be reachable from the internet. Keep MLflow, registries and development servers on a private network or behind a sign in proxy.
Close it at the edge
Drop inbound TCP 5000 on every firewall and cloud security group, and bind development servers to localhost.
Add sign in
Put MLflow and registries behind a proxy with authentication and TLS.
Keep secrets out
Never bake keys into images or experiment files, and keep MLflow updated.
Port 5000 questions
What is port 5000 used for?
Port 5000 is the default port of the MLflow tracking server, the Flask development server and the Docker registry. Synology storage devices use it for their web login too.
Is it safe to expose MLflow on port 5000?
No. MLflow has no sign in by default, so an exposed server gives away experiments, models and stored files.
Why do scanners look for port 5000?
They look for open MLflow servers, Docker registries with private images and development servers that leak data.
How do I block port 5000?
Drop inbound TCP 5000 on your firewall and put the services behind an authenticated proxy or VPN. An IP blocklist of active scanners stops the sources that look for them.
Block the sources that scan port 5000.
An hourly IP feed of active scanners keeps them away from this port and everything else you run.