Port 445/TCP carries SMB (Server Message Block, also called CIFS) directly over TCP: Windows shares, NAS access, network drives and Samba on Linux. The older NetBIOS transport used port 139; today 445 is enough.
LAN only, never reachable from the internet. SMBv1 should be disabled – the WannaCry worm outbreak in 2017 exploited a flaw in it. In Samba, server min protocol = SMB2 sets a floor, and interfaces with bind interfaces only = yes plus hosts allow restrict access. For remote access, use a VPN rather than a port forward.
Typical: connecting to the share fails because the firewall blocks 445 or Windows' "public" network profile blocks sharing. smbclient -L shows whether the server offers shares.
Check
smbclient -L //nas.example.com -U user