Connecting to Server and then losing connection

Strange problem that begun a few nights ago. Using Macbook for server and Android TV. When I boot the laptop and connect, libraries, everything works fine. But then at some point it loses the connection and can’t regain it. Even if I wake the Mac up, “Update libraries” exit and reenter, it won’t connect again until I restart my laptop. Then it works fine. The problem happens again.

Things I’ve tried:

Sign in/Sign out

Uninstall/Reinstall Plex on Macbook and TV

Forget Server and reclaim

Toggle secure connection

Any idea what might be going on?