Home / Port numbers / Port 5353
Port 5353: mDNS
Finding printers, speakers and other devices on the local network. Port 5353 uses UDP.
- Port
- 5353
- Commonly used for
- mDNS
- Transport
- UDP
- Encrypted
- No
- Range
- User (registered) port, 1024 to 49151
- Our advice
- Local network only: never forward it from the internet
- IANA registration
mdnsMulticast DNS (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 5353 is used for
Port 5353 is multicast DNS, the technology behind Apple's Bonjour and the Avahi service on Linux. Devices use it to announce themselves and find each other without any server: it is how a phone discovers a printer, a Chromecast or an AirPlay speaker, and what makes names ending in .local work.
Should port 5353 be open?
mDNS is designed to stay within one local network and does not cross a router. A device that answers mDNS questions from the internet leaks details about itself and can be used for amplification attacks. It also does not cross between VLANs unless you add an mDNS repeater, which is why casting can stop working after you separate smart devices onto their own network.
Related ports
- Port 1900 (SSDP (UPnP discovery)): devices announcing themselves for UPnP
- Port 5355 (LLMNR): Windows name lookups on the local network without DNS
- Port 53 (DNS): turning names such as example.org into IP addresses
See all port numbers for the full list and how ports, TCP and UDP work.
Previous: Port 5351 (NAT-PMP and PCP) · Next: Port 5355 (LLMNR)