JSI Tip 5673. How do I change the listening port in the Windows Terminal Server Web Client?

You may wish to change the default listening port from 3389 on Windows XP and .NET Server clients:

1. Use Notepad to open %system root%\Web\TsWeb\Connect.asp.

2. Locate the entries that start with MsTsc.AdvancedSettings2.

3. Position the cursor after these entries and add a line:

MsTsc.AdvancedSettings2.RDPPort = nnnn

where nnnn is the new listening port.

To change the Terminal Server to listen on a new port:

1. Use the Registry Editor to navigate to:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp.

3. Double-click the PortNumber Value Name, a REG_DWORD data type, and set the data value to the listening port, using the Decimal Radix.

4. Stop and re-start Terminal Services.



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish