The connection is disconnected

Hello everyone!
I have a question: when I connect to a remote computer via TeamViewer, the connection is interrupted and I get the following message “TeamViewer trial”. Could it be related to Avast antivirus? I have recently installed it.
I will be grateful for your help!