> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Change RDP Port (Windows VPS/Cloud)

## Please follow the steps below in order to change your RDP (Remote Dekstop) Port:

1. Connect to your server via **Remote Desktop**.

2. Click simultaneously on the **Windows logo + R** to open the **Run dialog and open the registry editor by typing the regedit** and then clicking **OK**.

![](https://tutorials.my-virtual-panel.com/articles/1rdp.png)

3. Search for this registry subkey:

**HKEY\\\_LOCAL\\\_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber**

![](https://tutorials.my-virtual-panel.com/articles/2rdp.png)

4. Double-click or right-click on the **PortNumber registry subkey**, select the **decimal base** and type the port number of your choice (the default port is **3389**, in this example, we selected port **7690**). Click on **Ok** to save your selection.

![](https://tutorials.my-virtual-panel.com/articles/3rdp.png)

5. Exit the Registry Editor and open the **Windows Firewall**, click on **Inbound Rules and then on New Rule**.

![](https://tutorials.my-virtual-panel.com/articles/4rdp.png)

6. For **Rule Type**, choose **Port**.

![](https://tutorials.my-virtual-panel.com/articles/5rdp.png)

7. For **Protocol and Ports**, choose the **port you have configured** (in this example, we selected port 7690).

![](https://tutorials.my-virtual-panel.com/articles/6rdp.png)

8. For **Action**, please choose **Allow the Connection** and click Next.

![](https://tutorials.my-virtual-panel.com/articles/7rdp.png)

9. For **Profile** do not change anything and click Next. 

![](https://tutorials.my-virtual-panel.com/articles/8rdp.png)

10. For **Name** you can create a name for  your rule, describing in a few words the nature of the rule and click **Finish**.

![](https://tutorials.my-virtual-panel.com/articles/9rdp.png)

11. **Restart** your server.
