Datacrash Forum  


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 ipaddressortnumber

The IP address can be switched to servername if you have DNS correctly registered and working.

Works well for me, should for you to!
  | | The administrator has disabled public write access.
Re:Changing the default RDP listening port - 2007/04/23 13:45 You can also add a listining port, with some registry changes. Might be handy, internaly working with the normal port, so you don't need to know the "strange" port en externally with the other portnumber.
  | | The administrator has disabled public write access.