1. Home
  2. virtual Datacenter (vDC)
  3. Server
  4. How do I change the RDP port on a server?
  1. Home
  2. virtual Datacenter (vDC)
  3. How do I change the RDP port on a server?
  1. Home
  2. Own server
  3. How do I change the RDP port on a server?

How do I change the RDP port on a server?

First, add a new firewall rule on your server. Then you change the registry. How to do this is described in detail below.

Firewall Regel anpassen/hinzufügen

If you have changed the RDP port, you must ensure that the Windows firewall (or other firewalls) has a rule for the new port.

Please do not overwrite the existing rule, otherwise you will no longer be able to access the server!

  1. Open the Windows Firewall (via the Control Panel).
  2. Create a new rule for incoming traffic on the new RDP port.
  3. Select “Port” and click next.
  4. Select “TCP” (RDP uses TCP) and select “Specific local ports” and enter the new port that you have already changed in the registry. Click on Next.
  5. Select “Allow connection” and click next.
  6. Select the profiles to which the rule should apply and click Next.
  7. Now name the rule e.g. RDP new port and click Finish.

Registry anpassen

  1. Open the registry either with the key combination Windows + R and enter regedit or via the menu search “Registry Editor”.
  2. Navigate to the following path:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
  1. Select the entry “PortNumber” and open the entry.
  2. Change the value type (Base) to Decimal (if not already set). Now you can select a new port and confirm with OK. The default port is 3389.

You must then restart your server and can connect via the new port.

Updated on 21. April 2026

Was this article helpful?

Related Articles

Do you need support?
Deine Lösung steht noch nicht in den FAQ? Keine Sorge, wir sind für dich da.
Kontaktiere uns!