How do I allow a program through Windows Firewall?

Windows 10 comes with several security features to keep your device and data protected against unauthorized access, malware, and other attacks, including a powerful built-in firewall known as Microsoft Defender Firewall.

Although the Microsoft Defender Firewall does a pretty good job managing which applications and features are allowed to connect through the network, sometimes you may need to allow or deny an app manually.

In this guide, you’ll learn the steps to allow or deny app access through the firewall on Windows 10.

To allow an app through the Windows 10 firewall, use these steps:

  1. Open Windows Security.

  2. Click on Firewall & network protection.

  3. Click the Allow an app through firewall option.

    How do I allow a program through Windows Firewall?
    Windows Defender Security Center firewall settings
  4. Click the Change settings button.

  5. Check the app or feature you want to allow through the Windows 10 firewall.

    How do I allow a program through Windows Firewall?
    Allow apps through the firewall on Windows 10

    Quick tip: If the app isn’t on the list, click the Allow another app button to locate the application you want to allow.

  6. Check on which type of networks an app can access the network:

    • Private — Allows the app access to the network at home or work.
    • Public — Allows the app access to the network at a public place, such as in a coffee shop.
  7. Click the OK button.

Once you complete the steps, the app will have full access to the network.

If you want to block an app through the firewall, you can follow the instructions outlined above, but on step No. 5, make sure to clear the checkmark for the app or feature you want to deny access to the network.

This guide focuses on the Windows 10 firewall, but if you have another security solution, make sure to check your vendor support website for specific instructions.

We may earn commission for purchases using our links to help keep offering the free content. Privacy policy info.

All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.

You have been directed to this answer based on an ID match. Click here to see search results of this phrase.

Document ID

Document ID HT3480

Product

  • Juris®


Category

  • Product Features

Was this helpful?

Submitting...

Thank You!

There was an error with your submission. Please try again.

Article Content

Note: LexisNexis does not accept responsibility for the consequences of the suggested modifications. Consult a qualified technician to complete the suggested changes. Please contact Customer Support if you or your technician has questions or concerns about the information on this page.

Windows Firewall is a stable, host-based firewall for incoming traffic. Unlike router-based firewalls you deploy at the boundary of a private network and the Internet, Windows Firewall acts as a firewall for host-based traffic you assign to an IP address.

Add Port Exceptions to the Windows Firewall
Add Program Exceptions to the Windows Firewall

Add Port Exceptions to the Windows Firewall

Windows XP

  1. Click Start and select Control Panel.
  2. Double-click Windows Firewall to open the Windows Firewall window.
  3. Click the Exceptions tab.
  4. Click the Add Port button.
  5. Enter a name in the Name field.
  6. Enter a number in the Port Number field.
    Note: The standard SQL port is 1433. Follow Using the SQL Error Log to Determine the SQL Port
  7. Enter either TCP or UDP.
  8. Click OK to close the Windows Firewall window.

Windows Vista

  1. Click the Windows Orb and select Control Panel.
  2. Click Allow a program through Windows Firewall to open the Windows Firewall Settings window.
  3. Click the Exceptions tab.
  4. Click the Add Port button.
  5. Enter a name in the Name field.
  6. Enter a number in the Port Number field.
    Note: The standard SQL port is 1433. Follow Using the SQL Error Log to Determine the SQL Port
  7. Click either TCP or UDP.
  8. Click OK to close the Windows Firewall Settings window.

Windows 7 - 8

  1. Press Win Key +R to open the Run window.
  2. Enter wf.msc in the Open field and click OK.
  3. Click Inbound Rules and select New Rule.
  4. Select Port and click Next.
  5. Select either TCP or UDP.
  6. Select Specific Local Ports and enter the TCP port number.
    Note: The standard SQL port is 1433. Follow Using the SQL Error Log to Determine the SQL Port.
  7. Click Next.
  8. Select either Domain, Private, or Public profile.
  9. Click Next.
  10. Enter a Name and Description of the Rule.
  11. Click Finish.

Windows 10

  1. Right-click the Windows Start button and select Control Panel.
  2. Click Windows Firewall.
  3. Click Advanced Settings.
  4. Click Inbound Rules, then New Rule.
  5. Select Port for the Rule Type, then click Next.
  6. Select TCP for Does this rule apply to TCP or UDP.
  7. Select Specific local ports, and enter the TCP port to allow, then click Next.
    Note:  See Using the SQL Error Log to Determine the SQL Port. The standard SQL port is 1433, but can be different.
  8. Ensure Allow the connection is selected, then click Next.
  9. Select When to apply the rule (Domain, Private, or Public), then click Next.
  10. Enter a Name and optional Description, then click Finish.
 

Add Program Exceptions to the Windows Firewall

Windows XP

  1. Click Start and select Control Panel.
  2. Double-click Windows Firewall to open the Windows Firewall window.
  3. Click the Exceptions tab.
  4. Click to check mark the box for the program you want.
    • Note: If the program is missing from the Programs and Services: list, click the Add Program... button and browse to the directory for the program executable file, then click OK. This includes SQLbrowser.exe.
  5. Click OK to close the Windows Firewall window.

Windows Vista

  1. Click the Windows Orb and select Control Panel.
  2. Click Allow a program through Windows Firewall to open the Windows Firewall Settings window.
  3. Click the Exceptions tab.
  4. Click to check mark the box for the program you want.
    • Note: If the program is missing from the Program or port: list, click the Add program... button and browse to the directory for the program executable file, then click OK. This includes SQLbrowser.exe.
  5. Click OK to close the Windows Firewall Settings window.

Windows 7

  1. Click the Windows Orb and select Control Panel.
  2. Click System and Security or Windows Firewall.
  3. Click Allow a program through Windows Firewall to open the Allow programs to communicate through Windows Firewall screen.
  4. Click to check mark the box for the program you want.
    • Note: If the program is missing from the Allowed programs and features: list, click the Allow another program... button and browse to the directory for the program executable file, then click OK. This includes SQLbrowser.exe.
  5. Click OK to close the Allow programs to communicate through Windows Firewall screen.

Windows 8

  1. Press the Windows X keys, then select Control Panel.
  2. Click System and Security.
  3. Click Windows Firewall.
  4. Click Allow a program through Windows Firewall to open the Allow programs to communicate through Windows Firewall screen.
  5. Click to check mark the box for the program you want.
    • Note: If the program is missing from the Allowed programs and features: list, click the Allow another program... button and browse to the directory for the program executable file, then click OK. This includes SQLbrowser.exe.
  6. Click OK to close the Allow programs to communicate through Windows Firewall screen.

Windows 10

  1. Right-click the Windows Start button and select Control Panel.
  2. Click Windows Firewall.
  3. Click Advanced Settings.
  4. Click Inbound Rules, then New Rule.
  5. Select Program from the Rule Type window, then click Next. Note: This includes SQLbrowser.exe.
  6. Click Browse below This program path to select the program executable file, then click Next.
  7. Ensure Allow the connection is selected, then click Next.
  8. Select When to apply the rule (Domain, Private, or Public), then click Next.
  9. Enter a Name and optional Description, then click Finish.

Server 2008 / 2012

  1. Click Start and select Control Panel.
  2. Click Windows Firewall.
  3. Click the Exceptions tab.
  4. Click Add Program.
  5. Select the program you wish to exclude. Note: This includes SQLbrowser.exe.
  6. Click OK.

Recommendation

Title * Required
Description * Required
Priority

Submitting...

How do I allow certain apps through Windows Firewall?

Select the Start menu, type Allow an app through Windows Firewall, and select it from the list of results. Select Change settings. You might be asked for an administrator password or to confirm your choice. To add an app, select the check box next to the app, or select Allow another app and enter the path for the app.

How do you stop Windows Firewall from blocking a program?

Windows Firewall.
Click on the Start menu and Select Control Panel..
Select Windows Firewall..
Select Allow a program or feature through Windows Firewall on the top left panel..
Select Change settings and then select Allow another program..
Select Sync and click Add..
Click OK at the bottom to exit..

How do you check if Windows Firewall is blocking a program?

How to check if Windows Firewall is blocking a program.
Press Windows Key + R to open Run..
Type control and press OK to open Control Panel..
Click on System and Security..
Click on Windows Defender Firewall..
From the left pane Allow an app or feature through Windows Defender Firewall..

How do I allow a program to bypass firewall?

To manage the whitelist in the Windows Firewall, click Start, type firewall and click Windows Defender Firewall. Click Allow a program or feature through Windows Firewall (or, if you're using Windows 10, click Allow an app or feature through Windows Firewall).