共享社区

首页 » 编程技巧共享 » WEB编程相关文章 » 更改winxp和server2003的远程桌面端口
abc - 2008-4-15 21:05:00
winxp:
1.启动注册表编辑器 (Regedt32.exe)。
2.在注册表中找到下面的项: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
3.编辑菜单上,单击修改,单击十进制,键入新的端口号,然后单击确定
4.退出注册表编辑器。
注意:当试图使用远程桌面连接来连接到这台计算机时,必须键入新的端口号,格式为"IP:new-port"。
server2003在相似的注册表项。




How to change the listening port for Remote Desktop




This article was previously published under Q306759
INTRODUCTIONThis 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.
MORE INFORMATION
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: [url=/kb/307711/]307711[/url] (http://support.microsoft.com/kb/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: [url=/kb/322756/]322756[/url] (http://support.microsoft.com/kb/322756/) How to back up and restore the registry in Windows
1.Start Registry Editor.
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.
5.Quit Registry Editor.
Note When you try to connect to this computer by using the Remote Desktop connection, you must type the new port. [url=/kb/304304/]304304[/url] (http://support.microsoft.com/kb/304304/) How to configure the Remote Desktop client to connect to a specific port when you use Windows XP
1
查看完整版本: 更改winxp和server2003的远程桌面端口