To enable file sharing, you need to open TCP 445 port. Here are how.
- Run Windows Firewall.
2. In the left pane, click Advanced settings, and in the console tree, click Inbound Rules.
3. Under Inbound Rules, locate the rules File and Printer Sharing (NB-Session-In) and File and Printer Sharing (SMB-In).
4. For each rule, right-click the rule, and then click Enable Rule.