n this scenario, you enable firewall but still need to use file sharing to share file.

Step:

  1. Open Windows Firewall
    • Click Start
    • Open Control Panel and search for  “Windows Firewall”
    • Click Advanced Settings
  2. Click Inbound Rule
  3. In the right pane, find the related rules,  right-click and choose Properties
    ip1
  4. Click on Scope tab. Under Local IP Address, choose These IP Addresses
    ip2
  5. Click Add. Key in the IP and click OK
    ip3
  6. Click Apply and OK
    ip4