Your client has lost connection to server! several times in an hour!

That means its an Acer laptop, correct?

Are you using WiFi?

If so, use the suggestions for WiFi cards mentioned in this post:

-For everyone having connection issues of various types: UPDATE 8-7-23

Specifically:

  • Those using WiFi connections. Please refer to this except from a post in this thread today:

Remember to thank Node for sharing this fix that might help some of you with issues and using WiFi.

And:

There are some settings you can adjust for your network adapter (wired or wireless) on your PC that might help your latency issues while playing Diablo IV. This revolves around power settings. What you need to do is to make sure your network adapter that you use to connect to your internet is not set for power savings. You want it set to maximum performance. You can do this under the power settings in Windows. There are also settings for performance found in the adapter properties page as well. But by default, most Windows installations use power saving features over performance with network adapters, especially on laptops. This has been causing some of you problems, so its something to check for.

And finally, this:

For PCs, you need to open the adapter properties and there are a couple ways to do this:
Windows 11/10:

    Go to Settings->Network and Internet.
    Under here choose the type of connection you are using, WiFi, or Ethernet.
    Once chosen, then go to Hardware Properties (for WiFi). If you click on Ethernet, it should take you to the same page. Look for DNS Server Assignment.
    Click “Edit” change Automatic to Manual, turn on IP4, then enter 8.8.8.8 for Preferred DNS. Click Save.

Alternate method:

    Hit Windows key and R. Type in Control and run it.
    Go to Network and Internet.
    Go to Network and Sharing Center.
    Click Change Adapter Settings.
    Find the connection you are using. Double Click it.
    Go to Properties at the bottom left.
    Look for Internet Protocol Version 4. Double click that.
    Where it says Obtain DNS automatically, change that to “Use the following DNS server address”.
    Enter 8.8.8.8 into the location. You may add 8.8.4.4 to the second box if you wish.

A third option if you are techy enough, you can use your router to assign that IP4 DNS address via the DHCP, you just have to remember to re-acquire the IP address after making the change.
Cautions:

Some networks may need to have the local router as a DNS option for some situations. IN those cases, you may want to set the IP address of your router as your primary DNS, and the 8.8.8.8 as your secondary.

I will say, if you can hardwire your connection (that laptop should have a LAN connector), it would eliminate the WiFi as the problem.

If the router you are connecting to has a lot of devices attached to it, that can cause it to bounce devices too. Meaning that your connection doesn’t stay solid all the time. Devices can take turns on some WiFi router setups, rather than run simultaneously. And even then, a lot of devices can tax some routers.