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 Kasutajad peavad seda kasulikuks
Kas see vastus oli kasulik?

Seotud artiklid

Do you provide KVM/IPMI for dedicated server?

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

SakuraServer VPS User FAQ, Guide

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

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...

How to connect your VPS via VNC

Sometimes, your VPS might be unavailable to connect via RDP/SSH due to network config or VPN,...

How to enable root user on Ubuntu Server

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

Powered by WHMCompleteSolution