Q

Connecting a TS client to a different port

How do I configure a Terminal Services client to connect to a port other than 3389? The reason for wanting to do this is that I am going through a Network Address Translation (NAT) box -- 3389 is forwarded to one specific server. If I want to be able to connect to any other server, I need to assign a different port number on the NAT box and configure my client to use that port number. The NAT box will reinstate the normal 3389 port number when it forwards the connection, so there is no need to change the port on which the server listens.
The answer depends on the version of RDP you're running. If you're using the client that comes with Win2k, you can export the .CNS file and edit it with Notepad to change the port from 3389 to whatever is appropriate. If you're using the Remote Desktop Connection, open the saved .RDP file in Notepad and edit the entry for the connection server to SERVERNAME:####, where "####" is the new port number. (You can also just direct users to type the port number after the name of the server they're connecting to, but editing the .RDP file is simpler and less prone to error.) If you do this, consider making the .RDP files read-only so that users cannot accidentally overwrite the server-port combination.
This was last published in September 2003

Dig Deeper on Terminal Services and Remote Desktop Services

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseDesktop

SearchServerVirtualization

SearchCloudComputing

SearchConsumerization

SearchVMware

Close