Skip to main content

How to Remap RDP to a Custom Port (For Use in Restricted Networks)

This guide walks you through remapping RDP to those ports so you can connect even in restricted environments.

Updated over a week ago

If you’re trying to access your VPS from a restricted network — such as a workplace, school, or public Wi-Fi — you may find that the default RDP port (3389) is blocked by the local firewall or filtered by your ISP. In these cases, remapping your RDP port can help you stay connected.

⚠️ Important Note

We do not recommend changing the RDP port unless absolutely necessary. Modifying system-level networking settings can create conflicts with other services and may cause connectivity issues if done improperly. Proceed only if you’re experiencing RDP access problems due to network restrictions or firewall blocks.

Choosing a Custom Port

You can remap RDP to any unused port except port 3389 (the default). That said, some ports are more reliable than others, especially in restrictive environments.

Recommended Ports:

  • 443 — Commonly open (used for HTTPS traffic)

  • 80 — Also commonly open (used for HTTP traffic)

  • 8443 — Alternate HTTPS port, often allowed

  • 2222, 3390, 5000-5999 — Less common, but may work depending on your environment

These ports are suggested because they are frequently allowed through firewalls and are less likely to be blocked or throttled by corporate proxies.


How to Remap RDP to a New Port

Step 1: Modify the RDP Port in the Registry

  1. Press Win + R, type regedit, and hit Enter

  2. Navigate to:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

  3. Find the value named PortNumber

  4. Right-click → Modify

  5. Choose Decimal, and enter your desired port (e.g., 443, 8443, etc.)

  6. Click OK and close Registry Editor

Step 2: Open the Port in Windows Firewall

  1. Open Windows Defender Firewall with Advanced Security

  2. Go to Inbound Rules > New Rule

  3. Select Port, then TCP

  4. Enter the new port number you selected

  5. Allow the connection for all profiles

  6. Name the rule (e.g., “RDP Custom Port”) and finish

Step 3: Restart the VPS

Apply the changes by restarting your VPS.

Step 4: Connect Using the New Port

Once your VPS reboots, use your RDP client to connect with:

your-server-ip:customport

For example:

192.168.1.100:443 or your-vps-ip:8443


🤝 Need Assistance?

If any part of the setup feels unclear, the QuantVPS team is happy to help. If you’d like us to verify your environment from our side, feel free to open a support ticket and get connected with the team: https://www.quantvps.com/

Did this answer your question?