If your firewall blocking QuickBooks is causing disruptions to your workflow, call 1-888-440-2022 for immediate support. This is one of the most common issues QuickBooks users face, and the good news is that it’s entirely fixable once you understand what’s happening and why.
Why Does a Firewall Block QuickBooks?
Firewalls are designed to protect your computer from unauthorized access and suspicious network activity. They monitor incoming and outgoing connections and block anything that doesn’t match their security rules. While this is great for protection, it can sometimes cause problems with legitimate software like QuickBooks.
QuickBooks relies on specific ports and executable files to communicate across your network — especially when using multi-user mode, syncing with cloud services, or connecting to a company file hosted on another machine. When a firewall doesn’t recognize these connections as safe, it steps in and blocks them. The result? QuickBooks fails to open, can’t connect to the company file, shows error codes like H202 or H505, or simply freezes during launch.
Understanding which firewall is causing the problem is the first step toward resolving it.
Windows Firewall Is Blocking QuickBooks
One of the most frequent culprits is the built-in Windows security system. If Windows firewall is blocking QuickBooks, you’ll typically notice that the software either won’t open at all or it opens but can’t connect to your company file in multi-user mode.
Windows Defender Firewall controls which apps can communicate through your network. After a Windows update or a fresh QuickBooks installation, the firewall may not automatically recognize QuickBooks as a trusted program. This is especially common when QuickBooks is updated to a new version, because the firewall treats it almost like a new application.
Here’s how to resolve it:
Step 1 — Open Windows Defender Firewall Go to your Start menu and search for “Windows Defender Firewall.” Click on it to open the settings panel.
Step 2 — Allow an App Through the Firewall On the left side, click “Allow an app or feature through Windows Defender Firewall.” Then click “Change Settings” (you may need admin permission).
Step 3 — Find QuickBooks in the List Scroll through the list of apps. Look for QuickBooks and all related executables like QBW32.exe, QBDBMgrN.exe, QBCFMonitorService.exe, and QBUpdate.exe. Make sure both the Private and Public checkboxes are ticked for each one.
Step 4 — Add Them Manually If Missing If QuickBooks doesn’t appear in the list, click “Allow another app,” browse to the QuickBooks installation folder (usually in C:\Program Files\Intuit\QuickBooks), and add each executable manually.
After making these changes, restart QuickBooks and check whether the issue is resolved. If windows firewall blocking QuickBooks was the root cause, this should clear things up immediately.
Adding Firewall Port Exceptions for QuickBooks
Beyond just allowing the application itself, QuickBooks also requires certain network ports to be open. If those ports are blocked, even an “allowed” application can still fail to communicate properly.
The ports QuickBooks commonly uses vary by version:
- QuickBooks 2019 and later: Ports 8019, DYNAMIC
- QuickBooks Desktop 2018: 8019, 56728, 55378-55382
- QuickBooks Desktop 2017: 8019, 56727, 55373-55377
To add port exceptions in Windows Firewall:
- Open Windows Defender Firewall and click “Advanced Settings”
- Select “Inbound Rules” and then “New Rule”
- Choose “Port” and click Next
- Enter the port numbers for your QuickBooks version
- Select “Allow the Connection” and apply it to domain, Private, and Public
- Name the rule something recognizable like “QuickBooks Ports” and save
Repeat this process for Outbound Rules as well. This ensures QuickBooks can both send and receive the data it needs to function smoothly.
Avast Firewall Blocking QuickBooks
Third-party antivirus software can be just as disruptive — sometimes more so — than Windows Firewall. If you’re running Avast on your system, Avast firewall blocking QuickBooks is a well-documented issue that many users encounter.
Avast uses a combination of real-time scanning and its own firewall module to monitor program behavior. Because QuickBooks accesses local network resources, writes to the registry, and communicates over ports, Avast can flag this activity as potentially suspicious. The firewall may silently block QuickBooks without giving you an obvious error message, which makes it tricky to diagnose.
To fix this in Avast:
Step 1 — Open Avast and Go to Settings Launch Avast, click the Menu icon in the top-right corner, and go to Settings.
Step 2 — Navigate to Protection > Firewall Inside Settings, find the Protection tab and then click on Firewall.
Step 3 — Open Application Settings Scroll down to find “Application Settings” or “Application Rules.” This is where you can manage permissions for individual programs.
Step 4 — Find QuickBooks or Add It Look for QuickBooks in the list. If it’s there, set its connection rules to “Allow.” If it’s not listed, click “Add” and browse to the QuickBooks executable to add it manually.
Step 5 — Disable Real-Time Scanning Temporarily to Test If you’re not sure whether Avast is the problem, try temporarily disabling its shields and see if QuickBooks works. If it does, then Avast was definitely the cause, and you can go back and configure the exceptions properly rather than leaving it disabled.
Some users also find success by adding the entire QuickBooks installation folder to Avast’s exclusions list under the “Exceptions” section in settings. This tells Avast to leave everything inside that folder alone entirely.
QuickBooks Firewall Blocking in Multi-User Mode
The QuickBooks firewall blocking issue is especially prominent in multi-user environments. When multiple people need to access the same company file over a network, QuickBooks relies heavily on open communication between the host computer and workstations. If any firewall along the way — whether on the host or a workstation — is blocking that communication, users will get errors when trying to switch to multi-user mode.
Common symptoms include:
- Error code H202 or H505 when switching to multi-user mode
- “QuickBooks cannot communicate with the company file” message
- QuickBooks works fine in single-user mode but fails when others try to connect
- The Database Server Manager shows no activity
In these cases, you need to check the firewall settings on every computer involved — not just your own. The host machine (the one where the company file is stored) needs to have firewall exceptions configured for the QuickBooks Database Server Manager (QBDBMgrN.exe) specifically. This is the service that manages multi-user connections, and it’s frequently the one that firewalls target.
Using the QuickBooks File Doctor tool can also help diagnose and automatically fix some of these firewall-related connection issues in multi-user setups.
Using the QuickBooks Install Diagnostic Tool
Intuit offers a built-in utility called the QuickBooks Install Diagnostic Tool that can automatically detect and repair many common installation and firewall issues. If you’re unsure which firewall is causing the problem or you’d rather not dig through settings manually, this tool is a great starting point.
It automatically configures Windows Firewall exceptions for QuickBooks and its components. Keep in mind that it only works with Windows Firewall, so if you have a third-party firewall like Avast, Norton, McAfee, or Bitdefender, you’ll still need to handle those exceptions manually as described earlier.
When to Seek Extra Help
Sometimes firewall issues are layered — you might have both Windows Firewall and a third-party firewall running simultaneously, or your IT administrator may have set up network-level restrictions that override local settings. If you’ve tried the steps above and QuickBooks is still being blocked, it’s worth reaching out for professional help.
You can call 1-888-440-2022 whenever the firewall blocking QuickBooks problem persists beyond basic troubleshooting. Having a technician walk through your specific setup can save a lot of time and frustration, especially in a business environment where downtime has a real cost.
Quick Summary
Firewall issues with QuickBooks are annoying but very manageable once you know where to look. Whether it’s Windows firewall blocking QuickBooks, Avast firewall blocking QuickBooks, or a general QuickBooks firewall blocking problem in multi-user mode, the fix usually involves either allowing the QuickBooks executables through your firewall or opening the specific ports QuickBooks uses to communicate.
Always make changes to both inbound and outbound rules, cover all QuickBooks-related executables — not just the main program — and don’t forget to check every machine on the network if you’re running a multi-user setup. With the right exceptions in place, QuickBooks and your firewall can coexist without any conflict.