TCP port
Port 3389: RDP
TCP port 3389 is RDP, the Remote Desktop Protocol: a graphical login to another machine's desktop.
- The client and server first agree a security layer, then the desktop session runs inside TLS.
Check port 3389 on Linux
Put the server's name or address in place of HOST.
ss -tlnp 'sport = :3389'- On the server: is a program listening on TCP port 3389, on which address, and which program? How to read ss.
nc -zv HOST 3389- From a client: does a TCP connection to port 3389 open, get refused, or time out? How to read nc.
tcpdump -ni any tcp port 3389- On either end: the packets to and from TCP port 3389, as they cross the card. How to read tcpdump.
nmap -p 3389 HOST- From outside: is TCP port 3389 open, closed or filtered? How to read nmap.
What runs on it
- RDP
- Remote graphical login on TCP 3389: the client negotiates a security layer, then runs the desktop inside TLS.
- TLS and certificates
- Encryption plus proof of identity: the server shows a certificate for the name, signed by a trusted authority.