Helping people with computers... one answer at a time.

If Windows Firewall is restricting access to a program you want, there are a few steps to take to allow them access to the internet once more.

Windows Firewall is restricting access to something I want ... what do I do?

Windows Firewall has been in Windows XP since it was released. With Service Pack 2, Microsoft has shined the spotlight on the firewall as a key component to keeping your computer safe on the internet.

Being a good Windows Citizen, you duly enable the Windows Firewall. Then all of a sudden applications you care about stop working.

Before you turn off the firewall, let's look at how you can customize it; possibly allowing your application to resume working while retaining the security of the rest of the firewall.

In other words, let's not throw the baby out with the bathwater. At least not yet.

Most of the recent focus around the Windows Firewall has had one simple, and strong message: turn it on. And that's great; too many people are running unprotected or "naked" on the internet and exposing their computers to all sorts of malicious threats. Once you've turned it on, though, you can also configure it in several ways.

Windows XP Service Pack 2 makes finding the Windows Firewall configuration much easier. It's right there in your Control Panel labeled, logically enough, Windows Firewall.

The General tab of the Windows Firewall probably looks very familiar if you've installed Windows XP Service Pack 2. It's very simple, and simply pushes the message to turn it on:

Windows Firewall General Tab

The Exceptions tab is where things start to get more interesting:

Windows Firewall Exceptions Tab

The goal of the firewall is simple: prevent remote computers from accessing yours. The exceptions tab allows you to specify programs and ports for which the firewall will allow outside access. By default several popular programs if found on your computer are enabled, including Instant Messaging programs, Remote Desktop, and more. If you have a program that's not listed that you want to be able to respond to remote requests you can use the Add Program button to allow it. You can also use the Add Port button to allow a specific TCP/IP port to come through regardless of what program might be used to respond to it.

So if your program suddenly stops working when you enable the firewall and it expects to communicate on the internet, then this might be the first place to check to ensure it's here and allowed.

Display a notification when Windows Firewall blocks a program can be informative as well, both in identifying programs you might want to allow as well as being aware of level of malicious access attempts. Of course if that generates too much noise, you can turn it off as well.

The Advanced tab includes still more configuration:

Windows Firewall Advanced Tab

If you have multiple networks (and your Bluetooth and Firewire/1394 connections count as networks), then you'll see each listed separately. You can enable/disable the firewall for each separately, as well as configure additional exceptions on a per-network basis.

This is also the tab where you can turn on Security Logging. Especially if you suspect a problem or malicious attack, turning on logging can help you track what the firewall is doing.

I've teamed up with Lockergnome to provide video tips on various topics. See Configuring the Windows Firewall for a short video walking through the various options I've discussed in this article.

Article C2158 - August 18, 2004

Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
17 Comments

http://computers-technology.helium.com/how-to/9190-how-to-enable-or-disable-the-
A step by step guide to turning off your windows firewall. How to enable or disable to windows firewall.

Posted by: Dee Summerfield at March 6, 2010 12:30 PM

When I try to utilize internet explorer I get the cannot connect message. When I run the diagnostics I get the message that the firewall is blocking access to those ports. I've tried restting to the default settings but still cannot access the internet. I know my connection is good because I can still get email. Any ideas ?

Posted by: Bob at April 24, 2010 10:36 AM

Windows firewall is preventing printing to a network printer (wireless). How do I fix this?

Posted by: Joellyn Willis at June 11, 2010 7:18 AM

I find that just trying to enter a website is a dam hassle, I checked my firewall etc but it all seems ok. Not sure where to go from here????

Posted by: Yvonne Dette at December 10, 2010 2:51 PM

I've got a PC which is using XP SP2. The problem is, I cannot turn off the windows firewall to run a program which goes through our server. The option to turn off the firewall is always grayed out!! I've tried several options including logging in as the administrator of the computer and administrator of the network, but it just doesn't seem to do the trick. I really need this program running.. I've re-installed the program several times and even wiped out the computer and re-installed everything on it, but nothing works. The program just wont run because the firewall is permanently turned on.

Please help!!
Thanks

Posted by: Carmel Aruai at October 11, 2011 6:07 PM
Post a comment on "Windows Firewall is restricting access to something I want ... what do I do?":





Remember Me?

(You may use HTML tags for style)

Before commenting, please...

  • READ THE ARTICLE. A comment that shows you didn't will be deleted and ignored.

  • Comment only on the article. Use the search box at the top of the page if you have a question about something else.

  • NO PERSONAL INFORMATION in the comment. No email addresses. No phone numbers. No physical addresses.

  • Anything that looks the least bit like spam will be deleted. Links to unrelated sites or links that appear to be primarily promotional will be deleted, or the comment will be deleted.

  • Don't ask me to recover lost passwords or hacked accounts. I can't. Those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...