How to change default RDP (Remote Desktop Connection) port in 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]
* 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.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Classic ASP file upload limit of 200kb in IIS 7

During the process of migrating a site to IIS 7 we came across an issue with Classic ASP file...

Setting up .NET Core on Unmanaged Windows VPS

At times after publishing .NET Core Web Application to a Windows Server web server it may not...

Can I downgrade my Unmanaged Windows VPS Server?

No, we do not allow Windows VPS downgrade due to limitation of KVM virtualization software. In...

Forgotten Administrator Password / Cant login to Windows Server 2012 VPS

Here are some steps that will help in resetting your password: Instructions To reset the...