Solved

Change terminal server port in client?

Posted on 2004-04-23
6
21,262 Views
Last Modified: 2008-03-17
I need to have a client connect to port 3390 instead of 3389.

I found http://support.microsoft.com/default.aspx?scid=187623

But, i do not have a "Client Connection manager" available, just the mstsc.exe client, so how to i edit the .rdp file so it uses port 3390 instead? I tried adding

server port:3390 but that was unsuccessful.
0
Comment
Question by:j2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 20

Expert Comment

by:What90
ID: 10899318
On terminal server one of the options is to create 2 floppy disks.
This contains the setup for Client Connection manager. Run the set up and then run connection manager.

Then follow the links client intructions.
0
 
LVL 16

Accepted Solution

by:
JamesDS earned 50 total points
ID: 10901170
j2

The original MS Terminal Service Client (supplied with Windows 2000) did not support changing the port for terminal services by using SERVERNAME:PortNumber
The MS RDP client (supplied with XP and 2003) is 100% compatible with all MS terminal servers and allows you to set the client connection port with the following notation:

SERVERNAME:PortNumber

You can download the new client at: http://www.microsoft.com/downloads/details.aspx?FamilyID=a8255ffc-4b4a-40e7-a706-cde7e9b57e79&DisplayLang=en

If you haven't yet configured the server this is how you do it:

To alter the default port for all new connections created on the Terminal Server:
Run Regedt32 and go to:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\Wds\Repwd\Tds\Tcp
Find the "PortNumber" subkey and notice the value of 00000D3D, hex for (3389).
Modify the port number in Hex and save the new value.

To change the port for a specific connection on the Terminal Server: Run Regedt32 and go to this key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\<connection>
This is helpful for changing ports for Citrix MetaFrame and others.
Find the "PortNumber" subkey and notice the value of 00000D3D, hex for (3389).
Modify the port number in Hex and save the new value.

NOTE: The Terminal Server Active X client listens on TCP port 3389 and cannot be changed. If you are using the WebEnabled version of the TSE Client and change the port, the ActiveX client will no longer work.

Alternatively you can leave the TS Server on 3389 and use a port redirector on your firewall to redirect any inbound port to 3389 - equally effective when combined with the RDP client

Cheers

JamesDS
0
 
LVL 12

Author Comment

by:j2
ID: 10901683
Oh, we are using hte latest RDP-client. So, it was THAT easy? Just tag on the port number same way as any URL? Jeez, why didnt i try that? I will test this next time i see the office, then award points. Thanks.

As for port redirector. That is the problem. The server is behind a firewall which only allows one Mapped IP, and i have already forwarded 3389 to another server, so now i need 3390 to map to this server. I will try not changing the port of the service, and then map External 3390 -> Internal 3389 on that server. So the client should be the only config change needed. (Tho, i do give you a cudos for supplying the info.)
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 2

Expert Comment

by:berdt
ID: 11135527

Of course you can change the port in your ActiveX client !
Use the following control in the web client:

MsRdpClient.AdvancedSettings2.RDPPort =

0
 
LVL 12

Author Comment

by:j2
ID: 11136924
We are NOT using the ActiveX-client, only the standalone mstsc. But thanks for your input :)
0
 
LVL 2

Expert Comment

by:berdt
ID: 11136931
you can also give the mstsc.exe arguments ( from start> run, a shortcut or from the command prompt.)

For example: mstsc.exe /v:servername /fullscreen /console

Syntax
mstsc.exe {ConnectionFile|/v:server} [/console] [/f] [/w:width /h:height]

mstsc.exe /edit"ConnectionFile"

mstsc.exe /migrate

Parameters
ConnectionFile
Specifies the name of an .rdp file for the connection.
/v:server
Specifies the remote computer to which you want to connect.
/console
Connects to the console session of the specified Windows 2000 Server.
/f
Starts Remote Desktop connection in full-screen mode.
/w:width /h:height
Specifies the dimensions of the Remote Desktop screen.
/edit
Opens the specified .rdp file for editing.
/migrate
Migrates legacy connection files that were created with Client Connection Manager to new .rdp connection files.
Remarks
You must be an administrator on the server to which you are connecting to create a remote console connection.
.rdp files are stored for each user as hidden files in My Documents.
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question