|If you're connecting from one Windows computer to another using RDC (Remote Desktop Connection) then it uses port 3389|
If you're wondering what port some other remote software uses then you'll have to read their manul or google the information.
It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.