Discussion Locked

Terminal Server Ports

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Does anybody know if it's possible to change the default port (TCP 3389) that Win2k Terminal Server is listening on?
Thanks,
Victor

3 replies

by sabatogz

How to Change Terminal Server's Listening Port:

To change the default port for all new connections created on the Terminal Server:

Run Regedt32 and go to this key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
NOTE : The above registry key is one path; it has been wrapped for readability.

Find the "PortNumber" subkey and notice the value of 00000D3D, hex for (3389). Modify the port number in Hex and save the new value.

To changethe port for a specific connection on the Terminal Server:

Run Regedt32 and go to this key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\ connection
NOTE : The above registry key is one path; it has been wrapped for readability.

Find the "PortNumber" subkey and notice the value of 00000D3D, hex for (3389). Modify the port number in Hex and save the new value.

NOTE : Because the use of alternate ports has not been fully implemented for Terminal Server 4.0, support will be provided as "reasonable effort" only, and Microsoft may require you to set the port back to 3389, if any problems occur.

See link for full information.
http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q187623

This discussion is closed to new replies.