One of our QuickBooks Desktop user shared a solution to this, gartlandpeter .
This error is caused by your firewall blocking the internet access that is needed for specific QuickBooks programs. To resolve this, you'll want to automatically update your firewall by Running the QuickBooks File Doctor.
You can also manually configure firewall, here's how:
First, open QuickBooks Database Server Manager.
On the Port Monitor tab, look for QuickBooks Desktop 2019.
Remember the Port Number, becauseyou will use it for your firewall exception.
Things to know:
You can change the port assignment by selecting Renew.
To reset the firewall permission, you have to go to the Scan Folders tab and select Scan Now.