Donation Goal
Donate Now Goal amount for this year: 799 USD, Received: 100 USD (13%)
Please donate to help support this website. The funds will be used to purchase owned license of LiteSpeed Web Server Enterprise (2-CPU). It provides superior performance in terms of raw speed, scalability and anti-DDoS capabilities.

Change the Listening Port for Microsoft Remote Desktop Connection

Posted By Raymond In Category: Computer

Jun
11
2006

Microsoft has an built-in remote access program which allows you to view and interact with one computer using a simple program (Remote Desktop Connection) on another computer anywhere on the Internet or Local Area Network (LAN).

To enable Windows built-in Remote Desktop, right click on My Computer, select Properties and click on the Remote tab.
Check on the box where it says “Allow users to connect remotely to this computer” and your computer will start listening for remote access connections on the default port 3389.
Enable Listening Remote Desktop Port 3389

It is possible to change the remote desktop default port 3389 to other port. This is a better security measure because it will stop anyone from the network or internet directly trying connecting to you using remote desktop. Remote Desktop Connection also by default connect to Windows using port 3389 and there is no options where you can state what port you want to use.

This is how you can change the listening port of your remote desktop and also how can you connect to a remote desktop that’s on a different port using Remote Desktop Connection.


1. Start Registry Editor. Go to Start -> Run -> type regedit and click OK
Regedit
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\
RDP-Tcp\PortNumber

3. On the Edit menu, click Modify, and then click Decimal.
4. Type the new port number, and then click OK.
Windows Remote Desktop
5. Quit Registry Editor and restart is NOT required.

To use Remote Desktop Connection to connect to a listening computer on different port.
Remote Desktop Connection tool is usually located in Start -> Programs -> Accessories -> Communications -> Remote Desktop Connection.
Run it, enter the computer name if it’s on Local Area Network (LAN) or IP Address if on internet.
Clicking on the connect button will connect to the designated computer on default port 3389. To connect to a different port, enter a column and port after the computer name or IP address. The below picture is connecting to a computer name “pc” on port 3333.
Remote Access


Related posts:
  • Easier way to remote control Mac via Apple Remote Desktop
  • Remote Access Apple Mac OS X via Windows
  • Apple Remote Desktop 3 on Bittorrent Tracker
  • Remove the limit on TCP connection attempts
  • BitComet 0.65 Stable Released
    • http://paroxism.ath.cx Nick

      Cool Tip, Good security measure as you have stated.

    • http://paroxism.ath.cx Nick

      ps.. Restart is required. (XP Professional Machines)
      Restart required to reinitialise the port to the changed port value.
      Only way to get it to work without restarting is by restarting the service that controls remote desktop connection.

    • http://raymond.cc Raymond

      Nick, I tested it and no restart required.

    • Pingback: Changing Remote Desktop Listening Port Updates » Raymond.CC Blog

    • Merlin_Magii

      Ray, Sorry to be thick here but how do you determine what the \”computer name\” is? Is this the name given to the PC when the platform (XP etc) is first installed and as appears on the General Tab of System Properties ?

    • Hamid_Heibati

      thanx Good Tip

    • Williams

      Where we find a Log for Remote Desktop conection accessing. plz send mail

      thanks in advance

    • some1

      Event Viewer has logs for Remote Desktop Connections.

      Terminal Services.

      Start > Run > eventvwr.msc

    Copyright © 2005-2012 - Raymond.CC Blog