Port 139 (TCP) โ€” NetBIOS session

NetBIOS session service (old SMB).

๐Ÿ”’ Runs locally โ€” your input never leaves this browser tab

Port
139
Protocol
TCP
Service
NetBIOS session
Internet exposure risk
High

Block at the edge.

Check if port 139 is open

On the server, see what is listening:

sudo ss -tulpn | grep ':139 '

From another machine, test reachability:

nc -zv your-server.example.com 139

Block port 139 from the internet

With UFW (Ubuntu/Debian):

sudo ufw deny 139

With firewalld (RHEL/AlmaLinux/Rocky):

sudo firewall-cmd --permanent --remove-port=139/tcp && sudo firewall-cmd --reload

โ† All common ports