Home Net Guide

Home / Port numbers / Port 5000

Port 5000: Development servers, AirPlay, Synology

Flask test servers, macOS AirPlay Receiver, Synology DSM. Port 5000 uses TCP.

Port
5000
Commonly used for
Development servers, AirPlay, Synology
Transport
TCP
Encrypted
No
Range
User (registered) port, 1024 to 49151
Our advice
Keep it closed to the internet
IANA registration
commplex-main (TCP, UDP)

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 5000 is used for

Port 5000 has several unrelated everyday uses. Flask, the Python web framework, starts its development server there. On recent versions of macOS the AirPlay Receiver feature listens on 5000 and 7000, which is why a Mac may report the port as already in use. Synology NAS devices serve their DSM management page over plain HTTP on 5000.

Should port 5000 be open?

None of these should face the internet. Flask's development server can run arbitrary code if its debugger is enabled. A Synology login on 5000 sends the password unencrypted: use the HTTPS port and, better, a VPN or the maker's relay service.

Related ports

  • Port 5001 (Synology DSM (HTTPS), iperf2): Synology's encrypted admin page, and iperf2 speed tests
  • Port 7000 (AirPlay, and Cassandra): AirPlay on Apple devices, or Cassandra cluster traffic
  • Port 8000 (Development web server): test web servers, and some camera systems

See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 4500 (IPsec NAT traversal) · Next: Port 5001 (Synology DSM (HTTPS), iperf2)