How to change Windows RDP port

With default configuration, Windows RDP service is running on port 3389, to protect your server, you can change the RDP port.
 
1. Run "regedit", expand the folders to:
   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
   Find the "Port number" entry and double-click on it. In opened window choose "Decimal" and change "Value data"  to desired port, and click OK.
 
2. Expand the folders to:
   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\Tds\tcp
   Find the "Port number" entry and double-click on it. In opened window choose "Decimal" and change "Value data"  to desired port(this value should be same as above), and click OK.
 
3. Open the new RDP port in Windows Firewall (MUST do this before reboot, or your server will be inaccessible via RDP).
 
4. Reboot your server.
 
5. Connect you server with new port(example: vm00.sakuraserver.com:9999).
  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

Can I upgrade/downgrade my VPS plan(configuration)?

Upgrade:You can send a ticket to upgrade your VPS at anytime, the only condition of upgrade a VPS...

Test IP and Looking Glass

Roubaix, France https://looking.house/point.php?id=231   Beauharnois, Canada...

SakuraServer VPS User FAQ, Guide

Dear Customer,   First of all, thank you for choosing SakuraServer.   Here is some...

How to enable root user on Ubuntu Server

Ubuntu Server disabled root user on default, users can add sudo before command to get...

Do you provide KVM/IPMI for dedicated server?

For most servers, we don't provide KVM/IPMI for free. For some servers, KVM/IPMI...

Powered by WHMCompleteSolution