QuickBooks Error H202 occurs when a user tries to open a company file in multi-user mode, but QuickBooks can’t reach the server due to a network communication failure. This breakdown happens for two core reasons: the Firewall blocking communication and the DNS server conflict.
The first cause is firewall blocking, where Windows or third-party firewalls restrict the ports required by QuickBooks. Without access to ports like 8019 and the specific dynamic port range assigned to the installed version, QuickBooks cannot establish a proper link between the server and workstations. Additionally, if executables like QBW32.exe, QBDBMgrN.exe, or FileDoctor.exe are not added to firewall exceptions, the firewall continues to block traffic even if ports are open.
The second cause is a DNS server conflict, where the workstation cannot resolve the server’s hostname to its IP address. This breaks the connection even when the server responds to a direct IP ping. Incorrect DNS settings or missing mappings are usually the reason. Fixing this involves flushing and re-registering DNS settings and adding a manual IP-to-hostname entry in the system’s hosts file. Together, these two causes must be addressed to eliminate Error H202 and restore stable multi-user access.
Step-By-Step Solution to Fix Communication Block Between QuickBooks and Company File:
Step 1. Configure Windows Firewall on Both Servers and Workstations
- Open Windows Start Menu → Search “Windows Defender Firewall”
- Go to Advanced Settings → Inbound Rules → New Rule
- Add the following QuickBooks ports (based on your version):
- QuickBooks 2021: 8019, 56728
- QuickBooks 2022: 8019, 56729
- QuickBooks 2023: 8019, 56730
- Do the same for Outbound Rules
- Allow the following QuickBooks programs through the firewall:
- QBW32.exe
- QBDBMgrN.exe
- QBDBMgr.exe
- QBCFMonitorService.exe
How this helps:
QuickBooks needs open ports to allow data exchange between your workstation and the server. If these are blocked, the workstation can’t locate or talk to the server — causing Error H202. Opening these ports removes that block and restores communication.
Step 2. Check and Allow QuickBooks in Third-Party Firewalls (If Installed)
- If you use a firewall like Norton, McAfee, or Symantec, open its dashboard
- Go to Program or App Control Settings
- Manually add QuickBooks and its services:
- QuickBooksDBXX (replace XX with your version, like DB32 for 2022)
- QBCFMonitorService
- Set their status to Allow All Connections
How this helps:
Third-party firewalls can silently block QuickBooks services even if Windows Firewall is set correctly. If these services are blocked, QuickBooks can’t manage multi-user access. Whitelisting them ensures QuickBooks functions without interference.
Step 3. Verify Port Access and Network Flow
- Make sure all the ports mentioned above are open on both the server and workstations
- If needed, check your router/firewall or contact your IT team to open those ports on the network level
- Run QuickBooks Database Server Manager from QuickBooks Tool Hub > Network Issues to auto-scan and configure sharing settings
How this helps:
This ensures your network is set up to share the company file properly. It verifies that the server is hosting the file, ports are open, and that QuickBooks can locate and access the file from the workstation without interruption — directly fixing what causes H202.
Step 4. Temporarily Disable the Firewall for Testing
- What to do:
- Temporarily disable Windows or third-party firewall on the workstation and server
- Try opening the company file in QuickBooks.
- If the error is resolved after disabling the firewall, it confirms the firewall is blocking communication.
How this helps:
Disabling the firewall temporarily helps identify whether the firewall is the actual cause of Error H202. If QuickBooks works after disabling the firewall, you’ll know that firewall settings need to be adjusted. Remember to re-enable the firewall after testing and adjust settings accordingly.
5. Check for Firewall Updates or Changes
- What to do:
- Make sure your firewall software is up to date
- Review any recent changes to your firewall settings (updates or new software rules might be blocking QuickBooks communication)
How this helps:
Firewalls frequently update or change their rules. If QuickBooks was working previously but suddenly fails with Error H202, there might have been an unnoticed update or change that blocks communication. Checking the firewall’s update log and reviewing rules can help fix any conflicts.
Step-by-Step Resolution for QuickBooks Error H202 Due to DNS Server Conflict
Step 1. Flush and Re-register DNS Settings
- What to do:
- On the workstation, press Windows + R to open the Run dialog
- Type cmd and press Enter to open Command Prompt
- Type the following commands one by one and press Enter after each:
- ipconfig /flushdns
- ipconfig /registerdns
- Restart your computer after running these commands
How this helps:
Flushing the DNS cache removes any outdated or incorrect records that could be causing the DNS conflict. Re-registering DNS helps the system properly connect with the server using the correct, updated address, preventing any name resolution issues that block QuickBooks from finding the server.
Step 2. Add Server’s IP Address and Hostname to the Hosts File
- What to do:
- On the workstation, go to C:\Windows\System32\drivers\etc
- Open the hosts file with Notepad (run Notepad as administrator)
- At the bottom of the file, add the server’s IP address followed by the hostname, like this: (192.168.1.10, QB-SERVER)
- Save and close the file
How this helps:
This step forces the workstation to resolve the server name (QB-SERVER) directly to its correct IP address, bypassing any DNS issues. This ensures the workstation always connects to the correct server without relying on external DNS services.
Step 3. Test Connection by Using the Server’s IP Address
- What to do:
- Open QuickBooks on the workstation and try to open the company file
- Instead of using the server’s name (e.g., QB-SERVER), use its IP address (e.g., 192.168.1.10) in the file path
How this helps:
Using the server’s IP address instead of its name bypasses DNS resolution entirely. If QuickBooks works with the IP address but not the hostname, it confirms that the DNS conflict is the root cause, and the problem can be fixed by ensuring DNS settings are correctly configured.
Step 4. Check and Update DNS Server Settings
- What to do:
- Open Control Panel → Network and Sharing Center → Change adapter settings
- Right-click your active network connection → Properties
- Select Internet Protocol Version 4 (TCP/IPv4) → Properties
- Under Use the following DNS server addresses, try setting the DNS servers to:
- Preferred DNS server: 8.8.8.8 (Google’s public DNS)
- Alternate DNS server: 8.8.4.4
- Click OK to apply the changes, then restart your system.
How this helps:
Sometimes, the local DNS server used by your network may have issues. Switching to Google DNS or OpenDNS (public DNS services) ensures more reliable and faster resolution. This step can help eliminate DNS-related issues that affect QuickBooks connectivity.
Step 5. Ensure the Server’s Hostname is Correct in QuickBooks Database Server Manager
- What to do:
- Open QuickBooks Database Server Manager (from QuickBooks Tool Hub) on the server computer
- Confirm that the server’s hostname matches what is listed in QuickBooks
- Re-scan the folders where your company file is stored by selecting Scan Folders
How this helps:
The Database Server Manager ensures that the server is properly configured for multi-user mode. If there’s a mismatch between the hostname registered in QuickBooks and the actual server name, it can cause DNS conflicts. This step helps re-sync the settings.
Step 6. Test DNS Resolution with Command Prompt
- What to do:
- Open Command Prompt on the workstation
- Type:
ping <server name> (e.g., ping QB-SERVER) - If the response is successful (e.g., IP address appears), DNS resolution is working.
- If the response fails (e.g., “Ping request could not find host”), it indicates a DNS issue.
How this helps:
Ping test helps determine whether the workstation can resolve the server’s hostname to an IP address. If the test fails, it confirms that the DNS conflict is causing the error. The server may need to be reconfigured or the DNS cache cleared.
Step 7. Check Server and Workstation Network Configuration
- What to do:
- Ensure the server and workstations are on the same network (same subnet)
- Check for IP address conflicts — two devices with the same IP address can lead to DNS errors
- Use IP reservation on your router to assign static IP addresses to both the server and workstations.
How this helps:
Network configuration issues (like IP conflicts or devices being on different subnets) can also lead to DNS failures. Ensuring everything is on the same subnet and avoiding IP address conflicts improves network reliability, eliminating DNS errors that cause Error H202.
FAQs:
1. What are the signs that Error H202 is caused by DNS rather than firewall settings?
If QuickBooks can connect to the server using its IP address but not by name, or if a ping
to the server name fails, it’s likely a DNS issue. Users may also experience delays or intermittent access, indicating name resolution failure rather than port blockage.
2. Do I need to install QuickBooks Database Server Manager on all computers?
No, you only need to install QuickBooks Database Server Manager on the server (or the system hosting the company file). Installing it on workstations is unnecessary and may cause configuration conflicts or performance issues.
3. How do I check if my QuickBooks services are running properly on the server?
- Go to Services (Windows + R → services.msc) and confirm the following are running:
- QuickBooksDBXX (version-specific)
- QBCFMonitorService
If either is stopped, right-click and restart. These services are essential for multi-user file access.
4. Can antivirus software also cause Error H202 even if the firewall rules are correct?
Yes, some antivirus tools block QuickBooks executables or interfere with background services. Always whitelist QBW32.exe
, QBDBMgrN.exe
, and related services in your antivirus settings to prevent silent blocking.
5. Will switching to hosting the company file on a NAS device fix Error H202?
No, QuickBooks does not officially support hosting company files on NAS or mapped drives without proper configuration. Doing so often causes H202 and other network errors due to missing database services and incorrect permissions.
Disclaimer: The information outlined above for “Fix QuickBooks Error H202 Due to Network Communication Barriers” is applicable to all supported versions, including QuickBooks Desktop Pro, Premier, Accountant, and Enterprise. It is designed to work with operating systems such as Windows 7, 10, and 11, as well as macOS.