Click Windows “Start” menu then click Settings

Windows settings

Now click “Update & Security

Windows Update & Security

Click Windows Security and then click Firewall & network protection. Open Windows Security settings and Select a network profile.

Follow these steps to disable Windows Firewall

Under Windows Defender Firewall, switch the setting to Off.

Follow these steps to Enable Windows Firewall

Under Windows Defender Firewall, switch the setting to On.