WHATPORT(139) whatport.net WHATPORT(139)
139

NetBIOS Session Service

SMB over NetBIOS — the pre-2000 file sharing path that still lingers next to 445.

TCP IANA registry

Description

Port 139 carries the NetBIOS Session Service from RFC 1001/1002, and on top of it rides SMB for Windows file and printer sharing. Since Windows 2000, SMB prefers direct hosting on TCP 445 and only falls back to 139 for older peers, so a host with 139 open is usually supporting legacy clients or running a Samba server with NetBIOS enabled. It shows up constantly on NAS boxes, print servers, and unpatched Windows machines. Together with 137/138 UDP it also leaks workgroup and machine names to anyone who asks.

Exposed to the internet?

Do not expose

File sharing and name-service leakage on a public IP; this is the classic "my NAS is on the internet" finding. Keep SMB on the LAN or a VPN.

Check it yourself

$ sudo lsof -nP -iTCP:139 -sTCP:LISTEN

See also

Seen this on your network? Beige Box scans your Wi-Fi and shows every open port on every device — and its Ports tool links straight back here.

Get Beige Box →

also available as JSON · Markdown

Corrections or a missing port? Reply @rimrocksystems.