How do I change the port that Terminal Services runs on?

1. Select Start, Run and enter 'regedt32'. Locate the following key in the registry:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

2. Find the "PortNumber" subkey. The default value will be 00000D3D, or 3389 in decimal. Modify the port number and save the new value.

When you connect to your server through Remote Desktop, you will enter "yourserver.domain.com:2202", where 2202 is the port number you choose.

Note: We recommend rebooting to apply this change. Otherwise, you will need to recreate the RDP listener via Terminal Services configuration

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Enabling Audio over RDP on a Windows Server

Please note, it is not necessary to install audio hardware to enable audio for applications...

How do I block a specific IP from my server?

IPSec Filtering First, you will need to open the IPSec snap-in: Start -> Run -> mmc...

How do I configure the Windows Firewall?

Microsoft has developed a great article centered around configuration of the Windows Firewall...

How do I disable Internet Explorer Enhanced Security?

Disabling Internet Explorer Enhanced Security Configuration Windows Server 2003 is shipped with...

How do I enable ICMP echos in Server 2008

Enable ICMP echos in Server 2008 To enable ICMP replies in Windows Server 2008 you must allow...