To allow a Brother printer through Windows Defender Firewall without turning the firewall off, enable the built‑in File and Printer Sharing rules instead of disabling the firewall.
Follow these steps on the PC that should print to the Brother printer:
- Open Control Panel → System and Security → Windows Defender Firewall.
- Select Advanced settings on the left.
- In the Windows Defender Firewall with Advanced Security window, select Inbound Rules.
- Find these rules:
- File and Printer Sharing (NB-Session-In)
- File and Printer Sharing (SMB-In)
- For each rule, right‑click it and select Enable Rule.
This opens only the ports needed for file and printer sharing (such as TCP 139 and 445) so the printer can be accessed, while keeping the firewall active for all other traffic.
If printer sharing still fails and the Windows Firewall service was disabled, set the Windows Firewall service startup type to Automatic and start the service, because printer sharing requires it to be running.
For additional control, instead of opening ports globally, use the standard “Allow an app through firewall” flow:
- Open the Windows Security app and select Firewall & network protection.
- Select Allow an app through firewall.
- Select Change settings.
- Ensure File and Printer Sharing is checked for the appropriate network profile (typically Private). This limits printer access to trusted networks.
This approach allows the Brother printer to work without turning off the firewall or blocking all incoming connections.
References: