If you want to change the original port, this how to may help.
Terminal ServiceHow to modify Terminal Server's accessing port How to Print
to a Local Network Printer in TS How to redirect TS client printers ... www.howtonetworking.com/server/ts.htm
VNC "server" configuration can be set to use different IP ports than
the standard 5900 (VNC viewer), 5800 (Java viewer), 5500 (VNC viewer
"listening port" -- reverse connections.)
Check in the VNC "server" settings and set the ports.