# Remote Desktop Protocol (RDP)

> A way to see and use a Windows desktop from far away. Microsoft makes it.

**Field:** Infrastructure  
**Category:** SSH & Remote Access  
**Also known as:** RDP, Remote Desktop, Microsoft Remote Desktop

## Think of it like

Think of it like a magic window into a far room. You see the desk and use it from your chair.

## Definition

RDP is Microsoft's way to use a Windows computer's desktop from far away. You see its screen in a window and use your own mouse and keyboard. It sends pictures of the screen one way and your clicks the other. By default it listens on port 3389. It is the usual way into a Windows server.

## Example

Lucy's office runs a Windows server for its accounts app. She opens Remote Desktop from home and works on it as if she were there.

## Why it matters

Windows servers are mostly run through a desktop, not typed commands. RDP is how you reach one.

## Common mistake

Leaving port 3389 open to the whole internet. Bots try it all day, so put it behind a VPN.

## Three principles

- **A whole desktop.** Screen out, clicks in.
- **Port 3389.** The usual default.
- **Keep it closed.** Reach it through a VPN.

## Related terms

- [Virtual Network Computing (VNC)](https://learn.benibix.com/term/infrastructure/vnc)
- [Secure Shell (SSH)](https://learn.benibix.com/term/infrastructure/ssh)
- [Virtual Private Network (VPN)](https://learn.benibix.com/term/infrastructure/vpn)
- [Microsoft Windows](https://learn.benibix.com/term/development/windows)

## Told apart from

- [RDP vs VNC](https://learn.benibix.com/compare/rdp-vs-vnc): People often think VNC and RDP are two names for the same thing. Both show a far screen, but they work in different ways. RDP is built into Windows and opens its own desktop session. VNC copies whatever screen is there, on any system. VNC has no lock of its own, so it needs SSH or a VPN.

## Taught in

- [RDP vs VNC Remote Desktop](https://learn.benibix.com/learn/infrastructure-ssh/rdp-vs-vnc): SSH, 9/9

![Three ways to reach a far machine, side by side. SSH sends only text, on port 22, locked by default. RDP sends a whole Windows desktop, on port 3389. VNC sends a picture of any screen, on port 5900, with no lock of its own, so it is wrapped in an SSH tunnel.](https://learn.benibix.com/diagrams/inf3-remote-desktop.svg)

---

Source: https://learn.benibix.com/term/infrastructure/remote-desktop-protocol
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
