The QuickBooks error code H202 is a standard error that occurs when QuickBooks when the computer system is trying to connect to the company file but can't connect with the server due to some reason. There are several ways to resolve this error. First, you can try according to your need.
Solution 1 – Test your network connectivity
Solution 2 – You can use the QuickBooks file doctor tool
Solution 3 – Configure the firewall settings for QuickBooks Desktop as well.
Solution 4 – The QuickBooks services are running accordingly.
Solution 5 – You can add the server to the windows hosts file
Solution 6 – Create a new folder for Your QuickBooks Windows File
Solution 7 - Set Hosting to Local Files.