Wow, you can actually change the Remote Desktop Connection listening port!
Here’s how to do it:
1 – Disable Remote Desktop.
2 – Open up regedit.
3 – Go to the key:
4 – Change the dword value PortNumber to whatever you want.
5 – Enable Remote Desktop.
Now when you want to establish a remote connection, you’ll need to specify the port number after the server, for example:
(Where server is listening on port 1234 on 192.168.2.110.)
It’s worth saying that once the port number is changed, the Remote Desktop Web Connection will cease for function since (as far as I’ve tried anyway…) it can only connect to the default port (TCP 3389).
Does anyone know how I can get Remote Desktop Web Connection to work with the altered port?
!!! —–Update—– !!!
Woohoo! I’ve just found out you CAN indeed change the default port for the web connection as referenced in this website:
All you need to do is to add:
MsRdpClient.AdvancedSettings2.RDPPort = xxxx
to default.htm (where xxxx is your custom port number).
Needless to say, you want to secure that page from any unauthorized uses if you want your new port to remain as anonymous as possible .
Hey, actually… shouldn’t that page already be secured from unauthorized access !?