Closing a Port in Windows Firewall

Closing a port using the Windows Firewall in the Windows operating system is quite simple. Follow these steps to perform the action:

Step 1: Type “Windows Defender Firewall with Advanced Security” in the Windows search bar and open the result.

Step 2: In the opened window, click on the “Inbound Rules” tab to create a new rule.

Step 3: Select the “Port” option and click Next.

Step 4: Choose the TCP or UDP rule and specify the port number you want to close (enter a number between 0 and 65535).

Step 5: Select “Block the connection” and continue.

Step 6: Click Next without changing any other settings.

Step 7: On the final page, enter a name or optional description for the port rule and finish the process.

After following these steps correctly, the port you specified will be successfully closed.

Did you find it useful?
(31 times viewed / 0 people found it helpful)