In case the firewall causes problems allow http(80)/https(443) traffic to the following addresses:
Alternatively, if your firewall is able to whitelist patterns, allow http(80)/https(443) traffic to:
And also the following adresses:
For TeamViewer to work properly, access to all TeamViewer servers must be possible. The easiest way to achieve this is to open port 5938 (TCP) for outgoing connections to any IP address. *.teamviewer.com can also be added to the whitelist.
If TeamViewer cannot connect via port 5938 (primary port), TeamViewer will try to connect via TCP port 443 or TCP port 80.
You may need to put the following servers on the Whitelist: chocolatey.org and packages.chocolatey.org.