Port 5001: Synology NAS Admin, or Your Flask Fallback
Port 5001 is Synology's HTTPS admin port and the common fallback for Flask/Node dev servers when 5000 is taken by AirPlay on Mac. Here's how to tell which.
Port 5001 comes up in two unrelated contexts, and telling them apart takes about five seconds with the right command.
What typically listens on port 5001
- Synology NAS (DSM): Synology’s DiskStation Manager web admin interface uses port 5001 for HTTPS. If you have a Synology NAS, this is often what a network scan is actually picking up, not a process on your Mac at all.
- Flask/Node dev servers: Since macOS’s AirPlay Receiver claims port 5000 by default (see the port 5000 guide), it’s common to explicitly run a dev server on 5001 instead to sidestep the conflict entirely.
Is it safe to kill?
If it’s a local dev server you started, yes, killing it is completely safe. If you’re seeing 5001 because of a Synology NAS on your network, there’s no local process to kill: lsof on your Mac won’t show anything, because the traffic belongs to a different device.
Is it suspicious?
No. Both common causes are benign and expected. The only real troubleshooting step is figuring out which one applies to you, which is exactly what checking your Mac’s own listening ports (rather than just seeing “5001” mentioned somewhere) will tell you.
How to check port 5001 on macOS
lsof -i :5001
If this returns nothing, whatever you saw referencing port 5001 is happening on another device on your network (like a Synology NAS), not your Mac. If it returns a process, that’s your local dev server.
Portie shows every port your Mac itself is actually listening on with the owning app attached, so you can immediately tell whether 5001 is your own server or just network noise from another device.