0

I'm trying to block port 80 using Windows 10's firewall however it seems like no matter what I try I can still access HTTP sites.

I've been testing weather the port using the following powershell command: Test-NetConnection -ComputerName portquiz.net -Port 80 which could be the issue however I have tried with other sites.

I firstly tried using the Windows defender GUI with the following settings

I then tried replicating the same rule using Powershell as an administrator with this command, but to no avail.

I also tried disabling all other firewall rules in case another is interfering and that didn't work either so I really don't know what I could be doing wrong

Jambo
  • 1

1 Answers1

0

you could have followed the documentation:

PS C:\> New-NetFirewallRule -DisplayName "Block Outbound Port 80" -Direction Outbound -LocalPort 80 -Protocol TCP -Action Block

It is sometimes useful.

Gerard H. Pille
  • 2,569
  • 1
  • 13
  • 11