How to change the listening port for Remote Desktop
To continue receiving security updates for Windows, make sure you're running Windows XP with Service Pack 3 (SP3). For more information, refer to this Microsoft website: Support is ending for some versions of Windows
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.
You can use the Remote Desktop feature in Microsoft Windows XP Professional to connect to your computer from another remote computer.
Warning The Remote Assistance feature in Microsoft Windows XP may not work correctly if you change the listening port.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
307711 Remote Assistance invitation file does not contain correct port number
To change the port that Remote Desktop listens on, follow these steps.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
- Start Registry Editor.
- Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber
- On the Edit menu, click Modify, and then click Decimal.
- Type the new port number, and then click OK.
- Quit Registry Editor.
- Restart the computer.
304304 How to configure the Remote Desktop client to connect to a specific port when you use Windows XP
Article ID: 306759 - Last Review: 08/05/2016 08:45:00 - Revision: 5.0
Microsoft Windows XP Professional, Microsoft Windows XP Professional x64 Edition, Microsoft Windows Remote Desktop Connection for Macintosh, Microsoft Windows Server 2003, Standard Edition (32-bit x86), Microsoft Windows Server 2003, Standard x64 Edition, Windows Server 2008 Enterprise, Windows Vista Enterprise, Windows Vista Enterprise 64-bit Edition, Windows Server 2008 R2 Enterprise, Windows 7 Enterprise, Windows 7 Professional
- kbregistry kbsyssettings kbenv kbhowto kbnetwork KB306759