Home Net Guide

Home / Port numbers / Port 445

Port 445: SMB

Windows file and printer sharing. Port 445 uses TCP.

Port
445
Commonly used for
SMB
Transport
TCP
Encrypted
Optional (SMB 3)
Range
System (well-known) port, 0 to 1023
Our advice
Keep it closed to the internet
IANA registration
microsoft-ds Microsoft-DS (TCP, UDP)

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 445 is used for

Port 445 is SMB, the protocol behind shared folders and printers on Windows networks. macOS and Linux (through Samba) and nearly every NAS speak it too. It also carries a good deal of Windows remote administration.

Should port 445 be open?

This is one of the most attacked ports on the internet. The WannaCry and NotPetya outbreaks of 2017 spread through an SMB flaw to any machine with 445 reachable. It must never be open to the internet, and many internet providers block it for that reason. To reach shared files from outside, use a VPN.

Related ports

  • Port 139 (NetBIOS session service): older Windows file sharing over NetBIOS
  • Port 137 (NetBIOS name service): finding Windows computers by name on a local network
  • Port 135 (Microsoft RPC endpoint mapper): directs Windows remote management calls to the right port
  • Port 2049 (NFS): Unix and Linux network file shares

See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 443 (HTTPS) · Next: Port 464 (Kerberos password change)