Starting a Published Application you get the error message:
Connecting to Terminal Server in Native RDP Client (mstsc) causes the error message to appear:
RDP Port is used by another application.
To figure out which application listening to RDP port (by default 3389) execute the following command:
netstat -abno | find "%RDPPortNumber%"
You may check port RDP port number in registry entry: