Skip to content

VPS: Change Windows RDP Port

Learn how to change the Windows RDP port β†’ Find out more now

10 November 20262 min read1 Views0 helpful

Introduction

The Remote Desktop Protocol uses port 3389 by default. This port is well-known and often targeted by automated scans. Changing the RDP port can reduce unwanted connection attempts and improve basic security.

FAQ

Frequently asked questions

Open the Registry Editor (regedit) and navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Terminal Server > WinStations > RDP-Tcp. Find the PortNumber entry, set the value format to Decimal, and enter the desired new port number.
It is recommended to use a port above 1024 that is not already in use by another service.
Yes, you must also allow the new RDP port in the Windows Firewall by modifying the existing Remote Desktop rule or creating a new inbound rule for TCP traffic on the new port. Then restart the Remote Desktop services or reboot the system for the change to take effect.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product β€” briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.