Home Net Guide

Home / Port numbers / Port 3389

Port 3389: RDP

Windows Remote Desktop. Port 3389 uses TCP, UDP.

Port
3389
Commonly used for
RDP
Transport
TCP, UDP
Encrypted
Yes
Range
User (registered) port, 1024 to 49151
Our advice
Keep it closed to the internet
IANA registration
ms-wbt-server MS WBT Server (TCP, UDP)

Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.

What port 3389 is used for

Port 3389 is the Remote Desktop Protocol, which shows a Windows computer's screen on another device and passes back keyboard and mouse input. It is built in to Windows Pro and Server editions. TCP carries the session, and UDP is added when available for smoother video.

Should port 3389 be open?

Remote Desktop exposed to the internet is one of the commonest ways ransomware gets into organisations, through guessed or stolen passwords and through flaws such as BlueKeep in 2019. Do not forward 3389. Connect to the network by VPN first, or use a Remote Desktop Gateway, and require network-level authentication and two-factor sign-in.

Related ports

  • Port 5900 (VNC): remote screen sharing
  • Port 22 (SSH): secure remote login and file transfer (SFTP)
  • Port 5985 (WinRM (HTTP)): Windows remote management and PowerShell remoting
  • Port 445 (SMB): Windows file and printer sharing

See all port numbers for the full list and how ports, TCP and UDP work.

Previous: Port 3306 (MySQL and MariaDB) · Next: Port 3478 (STUN and TURN)