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
Press Win + R, type regedit, and hit Enter
Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
Find the value named PortNumber
Right-click → Modify
Choose Decimal, and enter your desired port (e.g., 443, 8443, etc.)
Click OK and close Registry Editor
Step 2: Open the Port in Windows Firewall
Open Windows Defender Firewall with Advanced Security
Go to Inbound Rules > New Rule
Select Port, then TCP
Enter the new port number you selected
Allow the connection for all profiles
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/