Change the Listening Port for Remote Desktop

This article describes how to change the port that Remote Desktop listens on. Note The Remote Desktop Connection Client for the Mac supports only port 3389. 3389 is the default port.

Steps

  1. Start Registry Editor.
  2. Locate and then click the following registry sub-key:
  3. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\
  4. RDP-Tcp\PortNumber
  5. On the Edit menu, click Modify, and then click Decimal.
  6. Type the new port number, and then click OK.
  7. Quit Registry Editor.
  8. Please follow this steps carefully or you will have trouble connecting via RDP.



Tips

  • An example: External IP plus the port that you want remote desktop to listen to such as 33 (xxx.xxx.xxx.xxx:33) – You would need to configure your router to forward IP request coming in on port 33 to go to local IP address (What ever 192.168.0.100 or 103 etc) The cool thing is if you want to connect to different computers you can have them all use different ports.
  • To access your home computer from the internet you will have to configure your router to use "Port Forwarding"?.
  • For Windows 7 you also need to create a Rule in the Windows Firewall, to accept incoming connections on the same port that you used.

Warnings

  • If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. No guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Related Articles