Under Microsoft Defender Firewall, switch the setting to OnIf your device is connected to a network, network policy settings might prevent you from completing these steps For more info,