Remote desktop connections enable access to a computer’s desktop, programs, and files from other computers, either in the next room or around the world. Everything appears on the remote computer just as it does when sitting in front of the host computer.
Configuring computers to accept these connections is simple—just click a checkbox. Then to access the computer over the Internet a port forward entry is required on the network’s router, which is also painless. However, configuring remote access over the Internet for multiple computers on the same network is not quite so intuitive.
To help you learn the ropes, we’ll take you step-by-step, configuring everything to enable hosting of multiple remote connections to computers, on a single network, over the Internet. For each computer that is going to be remotely controlled, we’ll edit the Windows Registry and create a firewall rule. Then we will configure port forwards in the router.
The first step is to enable the remote desktop connection feature on each desired computer. Remember, Windows XP Home Edition, Vista Home Basic and Vista Premium don’t include this capability, even though all editions include the Remote Desktop Connection client program.
In Windows Vista, right-click Computer on the Start menu and select Properties. On the System window, click the Remote Settings link on the left, and if needed, attend to the UAC prompt. On the Remote tab, choose Allow in the Remote Desktop section. If the computers that are going to connect to the host computer are using a newer version of the client, choose the more secure option.
Tip: To double-check if a client supports the Network Level Authentication (NLA) requirement for connecting to more secure connections, open the Remote Desktop Connection program, click the icon on the upper left corner of the program, and select About. If NLA is supported, it will be noted on the dialog.
To enable remote desktop in Windows XP, right-click My Computer on the Start menu and select Properties. On the dialog, select the Remote tab, check the allow option in the Remote Desktop option.
Tip: Don’t worry if computers aren’t shown in the browser that’s accessible when selecting Browse for more from the Computer field. This browsing capability only works when a Terminal Services gateway is installed, which is usually only done on enterprise networks.
The only default port used by the remote desktop server and client is TCP port 3389. Thus, every computer enabled with this feature will be listening for or initiating connections on this port. This is fine if multiple remote connections are made to and from computers on the same local network, however by default, more than one computer cannot be set up at the same time to accept remote connections from the Internet.
When the router receives traffic on the remote desktop port, it forwards it to a specified computer—a single computer. Thus if Bob successfully remotes into his computer, his computer is the one configured in the router. When Sallie tries to remotely connect to her PC, she’ll just receive an error message. In order for Sallie to connect, someone must change the computer configured in the router that the remote desktop traffic is forwarded to.
The way around this problem is to use different port numbers on the computers. For example, Bob could use the default port; he doesn’t need to change the port used by the server or the default firewall rule allowing the incoming traffic. However, Sallie would need to use port 3390, and any others wanting remote access could use 3391, 3392, etc.
After allocating each additional computer with a port number, change the default port by editing the Windows Registry:
1. Click the Start button, and in Vista type regedit into the search box and hit Enter, or in XP click Run, enter regedit, and hit Enter.
2. On the left side of the Registry Editor, browse to the following folder:
HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminalServerWinStationsRDP-Tcp
3. On the right side, find and double-click the PortNumber key, as shown in Figure 1 (below).
4. On the editing dialog box, choose the Decimal option.
5. Type in the allocated port number, click OK, and then close the Registry Editor.
In order for Windows to start using the new port, restart the computer and continue with opening up the firewall.
Enabling the remote desktop feature should automatically create a firewall exception for the traffic on TCP port 3389. This is fine for computers set up with the default port; however, a firewall rule must be manually created on computers configured with a custom port. Additionally, it is best to remove the original rule to prevent an unnecessary open port.
Here’s how to add a firewall exception on computers using non-default ports:
1. Open the Windows Firewall dialog from the Control Panel.
2. Click the Exceptions tab.
3. Click the Add Port button.
4. Enter a Name, the Port Number, keep TCP selected, click OK, and close the dialogs and windows. Figure 2 (below) shows an example.
Now it is time to set the router with all the port forwards, mapping assigned ports to their respective computer. Again, this is required in order for the router to know what to do with remote desktop traffic that comes in from the Internet. All computers, whether using the default or a custom port, must have an entry configured in the router.
To access the router settings, type the IP address of the router into a Web browser and log in. Then find the Virtual Server or Port Forwarding settings. To create a new entry, use a combo box to select the desired computer or manually enter the computer’s IP address, type in the port number (using the same for public and private), and click Save. Figure 3 (below) shows an example.
Tip: Static IP addresses should be used for the computers, as DHCP or automatic addresses are periodically changed. Many routers include a DHCP reservation feature to force a certain IP address upon a specified computer. Otherwise, IP addresses should be manually assigned on the computers.
Now that we’ve enabled the remote desktop feature on the computers, configured custom ports, and set up the router, we can finally connect. Bring up Microsoft’s Remote Desktop Connection program, on the Start menu. Start by entering the information like usual. When connecting to a computer on the same network, enter the computer’s IP address or Computer Name. When connecting over the Internet, enter the IP address of the Internet connection or a host name. Then if connecting to a computer configured with a non-default port number, type a colon and the number, as seen in Figure 4 (below).
A final note: Some DNS service providers, such as No-IP, offer dynamic IP service. This provides a host name, such as ericshome.getmyip.com, that always points to the Internet IP address, even when it changes. This makes using remote desktop connections much easier if the Internet connection has a dynamic IP address, which is the case for most residential and small business accounts.
Eric Geier is the Founder and President of Sky-Nets, Ltd., a Wi-Fi hotspot network. He is also the author of many networking and computing books, including Home Networking All-in-One Desk Reference For Dummies (Wiley 2008) and 100 Things You Need to Know about Microsoft® Windows Vista (Que 2007).
This article was first published on Wi-Fi Planet.
Huawei’s AI Update: Things Are Moving Faster Than We Think
FEATURE | By Rob Enderle,
December 04, 2020
Keeping Machine Learning Algorithms Honest in the ‘Ethics-First’ Era
ARTIFICIAL INTELLIGENCE | By Guest Author,
November 18, 2020
Key Trends in Chatbots and RPA
FEATURE | By Guest Author,
November 10, 2020
FEATURE | By Samuel Greengard,
November 05, 2020
ARTIFICIAL INTELLIGENCE | By Guest Author,
November 02, 2020
How Intel’s Work With Autonomous Cars Could Redefine General Purpose AI
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
October 29, 2020
Dell Technologies World: Weaving Together Human And Machine Interaction For AI And Robotics
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
October 23, 2020
The Super Moderator, or How IBM Project Debater Could Save Social Media
FEATURE | By Rob Enderle,
October 16, 2020
FEATURE | By Cynthia Harvey,
October 07, 2020
ARTIFICIAL INTELLIGENCE | By Guest Author,
October 05, 2020
CIOs Discuss the Promise of AI and Data Science
FEATURE | By Guest Author,
September 25, 2020
Microsoft Is Building An AI Product That Could Predict The Future
FEATURE | By Rob Enderle,
September 25, 2020
Top 10 Machine Learning Companies 2020
FEATURE | By Cynthia Harvey,
September 22, 2020
NVIDIA and ARM: Massively Changing The AI Landscape
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
September 18, 2020
Continuous Intelligence: Expert Discussion [Video and Podcast]
ARTIFICIAL INTELLIGENCE | By James Maguire,
September 14, 2020
Artificial Intelligence: Governance and Ethics [Video]
ARTIFICIAL INTELLIGENCE | By James Maguire,
September 13, 2020
IBM Watson At The US Open: Showcasing The Power Of A Mature Enterprise-Class AI
FEATURE | By Rob Enderle,
September 11, 2020
Artificial Intelligence: Perception vs. Reality
FEATURE | By James Maguire,
September 09, 2020
Anticipating The Coming Wave Of AI Enhanced PCs
FEATURE | By Rob Enderle,
September 05, 2020
The Critical Nature Of IBM’s NLP (Natural Language Processing) Effort
ARTIFICIAL INTELLIGENCE | By Rob Enderle,
August 14, 2020
Datamation is the leading industry resource for B2B data professionals and technology buyers. Datamation's focus is on providing insight into the latest trends and innovation in AI, data security, big data, and more, along with in-depth product recommendations and comparisons. More than 1.7M users gain insight and guidance from Datamation every year.
Advertise with TechnologyAdvice on Datamation and our other data and technology-focused platforms.
Advertise with Us
Property of TechnologyAdvice.
© 2025 TechnologyAdvice. All Rights Reserved
Advertiser Disclosure: Some of the products that appear on this
site are from companies from which TechnologyAdvice receives
compensation. This compensation may impact how and where products
appear on this site including, for example, the order in which
they appear. TechnologyAdvice does not include all companies
or all types of products available in the marketplace.