5353Port
UDPProtocol
mdnsIANA service nameNetwork infrastructureCategory
Port range
5353 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.
Security
Only open port 5353 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.
Open port 5353 in a firewall
ufw sudo ufw allow 5353/udp iptables sudo iptables -A INPUT -p udp --dport 5353 -j ACCEPT firewalld sudo firewall-cmd --permanent --add-port=5353/udp Windows New-NetFirewallRule -DisplayName "mDNS 5353" -Direction Inbound -Protocol UDP -LocalPort 5353 -Action Allow
Check if port 5353 is open
nc -vzu example.com 5353 # UDP checks are unreliable: no reply ≠ closed sudo ss -tulpn | grep ':5353 ' # what is listening locally (Linux)