Article ID: 326945 - View products that this article applies to.
By default, Windows Terminal Server uses TCP port 3389 for client connections. As a security option, you may want to change this port.
This article describes how to change the default listening port in the Terminal Server Web Client.
To change the Terminal Server listening port in the Windows XP Service Pack (SP) 1 (or later) and Windows Server 2003 clients, follow these steps:
NOTE: Before SP1 the Windows XP client used the Connect.asp file, not Default.htm, for these settings. You can make the change described in step 4 to Connect.asp, but Microsoft recommends that instead you upgrade the Terminal Services Web client as described in the following Microsoft Knowledge Base article:
327521For additional information about how to change the default listening port in Terminal Server, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/327521/EN-US/ )MS02-046: Buffer Overrun in TSAC ActiveX Control Might Allow Code Execution
(http://support.microsoft.com/kb/187623/EN-US/ )How to Change Terminal Server's Listening Port
Article ID: 326945 - Last Review: June 19, 2014 - Revision: 9.0