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.
Type Windows Security in the search box and hit Enter ... Toggle the Windows Defender Firewall switch to the Off position. Do the same for Domain network and Private network as well.
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 ...