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 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

Can you install Windows XP/VISTA/7 on VPS?

Yes, we can install them for you, a setup fee will be charged, also if you don't have your...

Do you provide KVM/IPMI for dedicated server?

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

How to enable root user on Ubuntu Server

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

Can you move my VPS to another node/datacenter?

Move to another node/datacenter is possible on request, but there are few conditions.1. Another...

How to connect your VPS via VNC

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

Powered by WHMCompleteSolution