In the left pane, click Advanced settings. In the Windows Firewall with Advanced Security dialog box, in the left pane, click Inbound Rules, and then, in the right pane, click New Rule.
This is accessible through the Windows Defender Firewall with Advanced Security interface. Advanced features of a firewall allow you to easily control which applications you allow to connect to ...
The Windows Defender Firewall can ... You will find the native Firewall application for the Windows operating system in the System and Security section of the Control Panel app.