Remote Desktop uses the following ports:
Port
Protocol
Function
5900
TCP
Control and observe
UDP
Send screen, share screen
3283
Reporting
Additional data
22
Encrypted file transfer, observe, and control (using SSH tunnel)