Cannot connect to Teamviewer server since yesterday

If you ever face Teamviewer server issues, in most of the cases it will be temporary. The best thing you can do is to wait. Such issues happens more often if they are moving their servers to a new location or the network is facing temporary issues. So, you should wait few hours before looking for an extra solution.

Like @Lakshmi said, the problem can be of the Teamviewer server. You can also try diagnosing your internet connection or restarting your PC.