Highlighted
Posted by eddieluk
Photon

Can I change the ports for Teamviewers in Windows

I facing a problem, after Teamviewer installed, one application doesn't works properly, the support from the applications say this is due to Teamviewer using the port, and this application won't change port. So I have to think another way to change the ports for Teamviewer. 

3 Replies
Posted by TeamViewer Staff
TeamViewer Staff

Re: Can I change the ports for Teamviewers in Windows

TeamViewer normally uses port 5939 for communication between processes and port 5938 if you have enabled LAN connections in the options. The first port can be changed by adding a registry value under HKLM\SOFTWARE\WOW6432Node\TeamViewer named "IPC_Port_Service" (type: DWORD) and set it to a different port. The second port cannot be changed, but you can disable it in the options (General -> Incoming LAN connections -> deactivated).

Maurice
Software Developer
2 Replies
Highlighted
Posted by eddieluk
Photon

Re: Can I change the ports for Teamviewers in Windows

hi Maurice, Tks for quick reply, I will test is on my laptop. 

Highlighted
Posted by Gos
Electron

Re: Can I change the ports for Teamviewers in Windows

Is it possible to specify which port you want to connect to though?
The use case would be for port-NAT access in from

external users, who are dependant on using IP-addresses.

(Remote Agent 123.123.123.123) -> (Customer-FW)222.222.222.222:5938 -> [Customer FW Port NAT] -> Server 1 10.10.10.10:5938
(Remote Agent 123.123.123.123) -> (Customer-FW)222.222.222.222:6938 -> [Customer FW Port NAT] -> Server 2 10.20.20.20:5938
(Remote Agent 123.123.123.123) -> (Customer-FW)222.222.222.222:7938 -> [Customer FW Port NAT] -> Server 3 10.30.30.30:5938