WINDOWS FIREWALL

WINDOWS FIREWALL

Turn off Windows Firewall (Run as Administrator)

netsh advfirewall set allprofiles state off

Turn of Windows Firewall (Run as Administrator)

netsh advfirewall set allprofiles state on

To check the status of Windows Firewall (Run as Administrator)

netsh advfirewall show allprofiles

Allow inbound connections on Windows Firewall

New-NetFirewallRule -DisplayName 'HTTP-Inbound' -Profile @('Domain', 'Private') -Direction Inbound -Action Allow -Protocol TCP -LocalPort @('80', '443')

Last updated