Networking

A legacy Windows application needs NetBIOS name, datagram and session services over TCP/IP between two subnets. Which ports must the firewall permit?

Show the answer

Correct answerB. 137–139

AWhy not this: Port 445 is SMB/CIFS directly over TCP, which does not use NetBIOS name or session services.

BWhy this is right: NetBT uses ports 137, 138 and 139 for name, datagram and session services.

CWhy not this: Port 389 is LDAP, used for directory queries, not NetBIOS services.

DWhy not this: Port 3389 is Remote Desktop Protocol, used for remote graphical sessions.

NetBIOS over TCP/IP (NetBT) uses ports 137 (name service), 138 (datagram) and 139 (session). Port 445 carries SMB directly over TCP and is the tempting alternative, but it does not provide NetBIOS naming.