Archive for December, 2013

RDP default port number.

Recently, I had problems with connection to the Windows 2008R2 server. I could ping it but I cannot connect to it using RDP. I’ve checked many obvoius remote settings but overlooked another – someone changed remote desktop default port in the registry. I wasted a huge amount of time to find it.
Anyway, the simplest way to checked if RDP is listening on default port is to use netstat command and to change the default port for RDP – run regedit and go to this key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp

Find the “PortNumber” subkey and notice its value – it should be 00000D3D, hex for (3389), the default RDP port. After changing this value, the restart is needed.

Categories: MS Windows, OS Tags: , ,