Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

UDP ports 137, 138, 5353

So I'm learning several topics when it comes to networking right now and more so with my Mac. I was wondering if anyone could tell me if it is typical for ports 137, 138, and 5353 to be open ports on my MBP even with the firewall blocking all incoming connections? Any explanation as to their uses is also greatly appreciated and much thanks in advance to anyone able to explain them to me!

MacBook Pro 15″, macOS 12.6

Posted on Sep 23, 2022 9:36 PM

Reply
Question marked as Best reply

Posted on Sep 24, 2022 3:42 AM

Apple uses different zero configuration tools to discover services on a local area network. Bonjour runs mDNSResponder which listens on port 5353 and implements Multicast DNS and DNS service discovery. There is also a NetBIOS daemon that interacts with NetBIOS networks and interacts with mDNSResponder via ports 137/138. These help it to detect networked printers, PCs on the network, and SMB service requests. These are transparent to the Firewall at any setting as they are important to normal macOS function.


In the Terminal:


man mDNSResponder
man netbiosd

Similar questions

2 replies
Question marked as Best reply

Sep 24, 2022 3:42 AM in response to CMartinezFamily

Apple uses different zero configuration tools to discover services on a local area network. Bonjour runs mDNSResponder which listens on port 5353 and implements Multicast DNS and DNS service discovery. There is also a NetBIOS daemon that interacts with NetBIOS networks and interacts with mDNSResponder via ports 137/138. These help it to detect networked printers, PCs on the network, and SMB service requests. These are transparent to the Firewall at any setting as they are important to normal macOS function.


In the Terminal:


man mDNSResponder
man netbiosd

UDP ports 137, 138, 5353

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.