Block or Open a port in Windows 8 Firewall

According to your needs, you can configure Windows 8 Firewall settings (block or open port in Windows 7 or Windows 8 firewall) and restore defaults if you are unsatisfied with the default Windows Firewall settings. However for this, you need to get to the advanced settings of firewall. This is simple, simply open up the control panel and in its search box type – Firewall. Then open Firewall and click on its ‘Advanced Settings’ link.

We have already see how to manage Windows firewall and how to configure Windows Firewall. In this post we will see in detail how to block or open a port in Windows 8 firewall.

Block port in Windows Firewall

When in the ‘Advanced Settings’ of Windows 8 firewall, click the Advanced settings link in the left-hand pane on the firewall main dialog. This will bring up the Windows Firewall with Advanced Security window.

Windows Firewall advanced settings Block or Open a port in Windows 8 Firewall

Now, if you see the firewall window shows a list of rules in the left side. From the list, select Inbound Rules to display the inbound rules section.

inbound rules Block or Open a port in Windows 8 Firewall

Then, from the right-pane select the ‘New Rule’ option.

Windows Firewall new rule Block or Open a port in Windows 8 Firewall

Doing so will open the ‘New Inbound Rule Wizard’ window.

From it, select ‘Port’ as the new Rule Type and click Next. For safety purposes, I tried blocking TCP port. Click on Specific local ports. Then choose one port like 80 as shown in the screenshot below. Click Next to continue.

Windows Firewall select ort Block or Open a port in Windows 8 Firewall

 

Windows Firewall block connection Block or Open a port in Windows 8 Firewall

Next, select ‘Block the connection’ as the Action and click Next.

Windows Firewall block connection blocked Block or Open a port in Windows 8 Firewall

Later, select all the profiles available for different type of connections (Domain, Private and Public) and Click Next to continue.

last Block or Open a port in Windows 8 Firewall

Give a name of your choice to the new rule. I used ‘block suspicious ports’. If you want, you can add description to the new rule. This step is however optional.

block suspicious ports Block or Open a port in Windows 8 Firewall

Finally, click the Finish button to configure the settings.

Open port in Windows Firewall

At times, you may you may feel the need of opening a port in the Windows firewall to let a specific IP communicate with your computer. For example, while playing games. The procedure to open a port remains more or less the same. All you need to do is follow the instructions in the New Inbound Rule wizard, specify the Port and select Allow the connection.

That’s it!

Posted by on , in Category Windows with Tags
Anand Khanse aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows, since 2006, and the Admin of TheWindowsClub.com. Please create a System Restore Point before trying out any software & be careful about any third-party offers while installing freeware. Add me on Google+.
  • steve

    windows 8 firewall using port blocking doesn’t work! try blocking 5357/tcp wsdapi
    it shows up the same as in windows7. however when u portscan the IP. it is not closed or blocked it is still open. can u recommend a proper replacement firewall

  • jan

    It doesnt work for me – when I go to open port check tool – it showed me is still closed… and I did it exactlym as u wrote – any other way (command prompt maybe? )

  • keimanzero

    This tells me how to close/block an open port in the Win 7 firewall but how do I know for sure that this actually working? I ran a Kaspersky TDSS Killer antirootkit scan and it came up clean yet Port 19 was still open at that point in time. I had a call from Comcast that my network was attacking others and the lady there advised me to close Port 19 to all traffic which I did. She told me to run the Kaspersky scan and I did that as well. How ca I know the issues have all been resolved? Is there a test I can run? Thanks- keimanzero

    HP Pavilion Windows 7 Home Premium desktop PC p6330f w/ dual Pentium processors.

  • http://www.thewindowsclub.com Anand Khanse
  • keimanzero

    Thanks a lot Anand but I did find a very nice Port Scanner which tells me that only Port 80 is now open. Port 19 is definitely closed. Now is there any way to determine which ports I really should keep open besides #80? What is Port 19 really supposed to be used for I wonder? Thanks again- jack/keimanzero

  • http://www.thewindowsclub.com Anand Khanse

    Can you tell us the name of the Port Scanner, if it is a freeware?

  • keimanzero

    Sure it’s

    http://download.cnet.com/Free-Port-Scanner/3000-2094_4-81798.html

    It’s a real speedy scan too! However, if you want to check Port 19 you will have to add it to the ports list. Mine began with Port 21 and after I had closed Port 19 per instructions I got about the firewall the sole Port that was open in my OS was 80 which is necessary for internet access I understand. As to the other ports, I am not sure I need them since all of them were already closed to all traffic. Hope this is what you needed Anand. I simply Yahooed port scanner free and port scanner downloads. I found many besides this one but this one is OKd by CNET and I trust them. Sayonara for now and have a great day! Freezing up here at 32 F for our high today and 24 F tonight! More snow for the weekend too- Jack/keimanzero

  • http://www.thewindowsclub.com Anand Khanse

    Thanks. Will check it out. And enjoy the chill! :)

  • johnson dell
  • Recent Comments