Admin-Ahead Community

Windows => Control Panels => Plesk => Topic started by: Eby Sebastian on December 14, 2013, 10:31:37 pm

Title: How to change default RDP (Remote Desktop Connection) port in Windows Server
Post by: Eby Sebastian on December 14, 2013, 10:31:37 pm
Follow below steps to change default RDP port on Windows server:

By default, Remote Desktop Connection (RDP) uses port 3389. we can change this default settings for security reasons.

* Login to the server via RDP(Remote Desktop Connection).
* Open the port you wish to use for RDP connection in firewall.

Code: [Select]
* Click on “Start”>>Go To “Control Panel”>>Click on “Windows Firewall”
* Click on “Exceptions” tab .
* Click on “Add Port”.
* Specify the required details like Name, Port Number and choose TCP.

* Open Registry Editor.
Code: [Select]
Click on “Start”>>Go To “Run”>>Type “regedit” (without quotes) and click OK.
* Locate and then click the following registry subkey:
Code: [Select]
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
* On the Edit menu, click Modify, and then click Decimal.
* Type the new port number, and then click OK.
* Exit from Registry Editor.
* Restart the server to make the changes in effect.
* Verify connectivity to the new port using telnet.