PortGate

Resources · Port reference · port 445

Port 445 (SMB): what it is and how to secure it

SMB on the internet is a common ransomware path.

Check command

ss -tulpn | grep 445

Copied.

Do not publish 445. File sharing for a VPS belongs on SSH or an object store. Check UDP 137 and 138 as well if Samba was installed.

ss -tulpn | grep 445

A 0.0.0.0 or :: address is a public listener. 127.0.0.1 is local.