This might help you add a firewall rule to port 445.
-Go to Computer Configuration > Policies > Windows Settings > Security Settings > Windows Firewall with Advanced Security > Windows Firewall with Advanced Security - LDAP > Inbound Rules.
-Right-click and choose New Rule.
-Choose Port and click Next.
-Choose TCP and at specific local ports enter 445, then click Next.
-Select Do not Allow the connection and click Next.
-Choose Domain (or other, depending on your knowledge), then click Next.
-Specify Radar Scanning as the name and click Finish.
Hope this resolves your Query!!
--If the reply is helpful, please Upvote and Accept it as an answer--