EkilErif
User
| Posts: 272 |   |
|
Changing the default RDP listening port - 2006/09/22 14:35
The only reasons you would want to do this are:
1. Additional Security. 2. You only have 1 Internet IP and need to use port forwarding on your router.
For me, the second point is my problem. We only have 1 Internet IP Address and numerous Windows Servers which I need to access remotely. So instead of paying loads and loads of money to get more IP Addresses I simply change my TS Listening port and setup port forwarding on my router.
To change your listening port open a registry editor.
Browse to the following key: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp
Edit the PortNumber value, the default value is d3d or 3389.
Close your registry editor and restart your workstation or server.
When connecting to the machine use the following switches with the mstsc executable:
mstsc /v ipaddress ortnumber
The IP address can be switched to servername if you have DNS correctly registered and working.
Works well for me, should for you to!
|