How to change Remote Desktop (RDP) port on Windows Cloud Servers

2020-10-27 By Aaron 6602 Views windows rdp networking security
8 reviews

Server security is a very important thing to think about these days and you can increase the security level of the server with some very small changes. Windows servers can access remotely with Remote Desktop via the TCP 3389 port (default port). You can increase the security of the server by changing the default port used to connect to RDP and this requires a change in the Windows registry.


rdpdiagram


This article will guide you how to change the RDP port for your Windows server.


  1. To open the Windows Registry, just click on the Windows key to open start and search regedit and then click on the Registry Editor which is shown in the below image.

    windowsport1

  2. Go to the registry key which mentioned below. You can refer to following 2 images.

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp;
    

    windowsport2

    windowsport3

  3. Double click on the Port number option which shown in the below image.

    windowsport4

  4. Once double clicked on the PortNumber option, you will get a box as in the below image. Then select the Decimal and enter the new port number into the Value Data field and then click OK.

    windowsport5

    NOTE: Enter the original custom port number into the Value Data field, here 1355 is only for sample.

  5. Reboot the server for the changes to take effect and then access the server with the new custom port.


Related LayerStack Product


Related Tutorials

What do you think about this article?

Rate this article
LayerStack Promotion
Need assistance?

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.