3389 port used for Remote Desktop requires TCP port 3389 to be open. Also, opening UDP port 3389 enables acceleration since RDP 8.0. It is possible to change the port used by the terminal server (or PC which is accessed), see this Microsoft support article: How to change the listening port for Remote Desktop..
3389 port number
This comprehensive guide covers RDP port 3389, its significance, vulnerabilities, and alternatives to ensure secure remote connections.
3389 4d
What Is Port 3389 and Why Should You Care? Port 3389 is the default port used by Remote Desktop Protocol (RDP), the built-in Windows feature that lets you access and control your computer or server remotely.