Port

Port 139 — NetBIOS session

Port 139 (TCP) is used by NetBIOS session. NetBIOS Session Service — legacy Windows file sharing.

Port 139 at a glance

PropertyValue
Port number139
TransportTCP
ServiceNetBIOS session
CategoryWell-known port

What it is used for

NetBIOS Session Service — legacy Windows file sharing.

Security considerations

Block externally; superseded by SMB over 445.

See our full TCP/UDP port reference and learn how firewalls filter ports in the CyberOps course.

Frequently asked questions

What is port 139 used for?

Port 139 (TCP) is used by NetBIOS session. NetBIOS Session Service — legacy Windows file sharing.

Is port 139 TCP or UDP?

Port 139 uses TCP.

Is it safe to open port 139?

Block externally; superseded by SMB over 445.

Learn networking hands-on

Master IP addressing, subnetting and Cisco configuration on real lab devices with placement support at Attila Technologies, Ahmedabad.

Start your networking career with Attila Technologies

Hands-on Cisco training, real lab devices and placement support in Ahmedabad.