QuickBooks Error 6130: Resolving Database Server Connection Problems

QuickBooks Error 6130 occurs when QuickBooks Desktop on a workstation cannot establish or sustain a socket connection with the QuickBooks Database Server Manager. While similar errors indicate that a host computer cannot be found, Error 6130 indicates that the workstation found the hosting machine, but the host’s background database service either refused the connection, terminated unexpectedly, or was blocked by firewall rules.

Fast-Fix: The 45-Second Solution

To resolve Error 6130 immediately, access the host server, press Windows Key + R, type services.msc, and hit Enter. Locate the service named QuickBooksDBXX (where XX matches your version year), right-click it, and select “Restart”. Then restart QBCFMonitorService. Once both services are running, verify the company file opens on the server before launching it from your workstations.


Quick Status & Triage Snapshot

  • Data Risk Tier: Low. The company file itself is rarely damaged; this is a service communication breakdown.
  • Multi-User Impact: Critical. All workstations attempting to access the file over the local network will be locked out until the service issue is fixed.
  • Common Trigger: The QuickBooks database service crashing on the host, a server reboot that left services in a “Manual” or stopped state, or a newly updated firewall rule blocking port traffic.
  • Estimated Fix Time: 5 to 10 minutes.

Diagnostic Flowchart: 6130 Decision Path

[Start: Error 6130 Displays]
          │
          ▼
Is the company file hosted on a dedicated server or a peer workstation?
  ├── Dedicated Server  ──> Check server Services console (services.msc).
  └── Peer Workstation  ──> Ensure "Host Multi-User Access" is turned ON at host only.
          │
          ▼
Are "QuickBooksDBXX" and "QBCFMonitorService" running on the host?
  ├── No  ──> Start the services; set Startup Type to "Automatic".
  └── Yes ──> Continue below.
          │
          ▼
Can you ping the host computer from the workstation via IP and Hostname?
  ├── Fails ──> Fix local network/DNS resolution issues.
  └── Works ──> Firewall is blocking database ports. Add inbound rules for port 8019.

Is Your Data at Risk?

Error 6130 is an infrastructure-level drop. Because the application cannot connect to the database daemon, no read or write operations can occur.

  • If the error popped up suddenly while working in the file: Any record you were actively typing (like an unsaved invoice) will be lost, but committed transactions remain fully preserved.
  • If the error appeared upon first opening the program in the morning: Your records are safe. The host server likely restarted overnight for Windows updates and failed to restart its database services automatically.

Technical Anatomy: What This Error Means

When QuickBooks Desktop runs across a network, it does not open the company file directly using standard Windows file sharing. Instead, it communicates via remote procedure calls to Sybase SQL Anywhere, wrapped by the QuickBooksDBXX service.

Error 6130 triggers when:

  1. The client sends a connection request to the server across TCP port 8019 or the assigned dynamic database port.
  2. The server’s network stack receives the request, but no active database process answers on the target socket (because QBDBMgrN.exe crashed or stopped).
  3. Alternatively, a security monitor or hardware firewall intercepts the request and closes the port before the database manager can process the authentication payload.

Differential Diagnosis: Don’t Confuse This With…


Step-by-Step Repair Guide

Follow these steps directly on the hosting machine, then test from the workstation.

Step 1: Restart Host Database Services

  1. On the host computer or server, press Windows Key + R to open the Run prompt.
  2. Type services.msc and press Enter.
  3. Scroll down and locate the service matching your software version:
    • QuickBooksDB34 (QuickBooks Desktop 2024)
    • QuickBooksDB35 (QuickBooks Desktop 2025)
    • QuickBooksDB36 (QuickBooks Desktop 2026)
  4. Right-click the service, select Properties, and ensure the Startup type is set to Automatic.
  5. If the service status is stopped, click Start. If it is already running, click Stop, wait 5 seconds, and click Start.
  6. Repeat this process for QBCFMonitorService.

If services frequently fail to stay running on your server, see Service Fix: Troubleshooting “QuickBooks Database Server Manager Stopped”.

Step 2: Rescan Company Folders with Database Server Manager

  1. On the host computer, open QuickBooks Database Server Manager.
  2. Go to the Scan Folders tab.
  3. Click Add Folder and select the folder housing your company files.
  4. Click Start Scan.
  5. Verify that all your company files appear in the bottom pane labeled QuickBooks company files found. This confirms the database engine has registered and locked the network descriptors.

Step 3: Configure Inbound Firewall Ports

If the services are running but workstations still trigger Error 6130, your firewall is likely blocking database traffic:

  1. Open Windows Defender Firewall with Advanced Security on the host server.
  2. In the left panel, click Inbound Rules, then click New Rule in the right panel.
  3. Select Port, then click Next.
  4. Select TCP and specify the necessary ports:
    • Port 8019
    • Dynamic database ports assigned to your version year (e.g., 55383-55387 for recent versions).
  5. Select Allow the connection, check all three network profiles (Domain, Private, Public), name the rule QuickBooks Database Ports, and click Finish.

For a complete breakdown of required ports, check Firewall Ports: Configuring Windows Firewall for QuickBooks 2024–2026.


Hard Stop: When to Call an Expert

Pause manual fixes and escalate if:

  • The QuickBooksDBXX service repeatedly crashes within seconds of starting, logging error codes such as 1067 or 7034 in the Windows Event Viewer.
  • The company file folder is hosted on a Network Attached Storage (NAS) device or Linux share that does not support active Windows services.
  • Multiple network cards (NICs) on the server cause QuickBooks to bind to an unreachable internal virtual IP address.


Closing the Books

Error 6130 can cause sudden, company-wide workflow disruptions, but it is almost always caused by an inactive Windows service or an unconfigured firewall rule on the host machine. Once you verify that the QuickBooksDB engine is running and that its network ports are open, your workstations will be able to reconnect without needing file repairs or data recovery.