For Windows 11 For Windows 10
How to disable firewall?
Turn on Microsoft Defender Firewall. Other Windows 11 settings and usage are summarized, so please refer to it.
When disabling in the “Control Panel”
When disabling with “Command Prompt”
Select Turn Windows Defender Firewall on or off in the left menu.
When disabling with “Windows Terminal (PowerShell)”
security related articles
Run Windows 11 virus scan Disable/enable Windows 11 firewall Windows 11 allow communication on specific port numbers Summary of Windows 11 settings and usage