Changing the Listening Port
Your first task is to modify the Remote Desktop software on the host computer to use a listening port other than 3389, which is the default port. This is a good idea because there are hackers on the Internet who use port scanners to examine Internet connections (particularly broadband connections) for open ports. If the hackers see that port 3389 is open, they could assume that it's for a Remote Desktop connection, so they try to make a Remote Desktop connection to the host. They still have to log on with an authorized username and password, but knowing the connection type means they've cleared a very large hurdle.
To change the Remote Desktop listening port, follow these steps:
- Select Start, type regedit, and then press Enter. The User Account Control dialog box appears.
- Enter your UAC credentials to continue. Windows 7 opens the Registry Editor.
CAUTION: The Windows 7's Registry contains settings that are vitally important for both Windows 7 and your installed programs. Therefore, when you're working with the Registry Editor, don't make changes to any keys or settings other than the ones and make a backup of the Registry before you make any changes. - Open the following branch:
HKLM\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp
- Double-click the PortNumber setting to open the Edit DWORD (32-bit) Value dialog box.
- Select the Decimal option.
- Replace the existing value (3389) with some other number between 1024 and 65536.
- Click OK.
- Reboot the computer to put the new port setting into effect.
In this tutorial:
- Remote Network Connections
- Setting Up the Remote Computer as a Host
- Configuring Windows 7 or Vista to Act as a Remote Desktop Host
- Configuring a Windows Firewall Exception for Remote Desktop
- Activating the Remote Desktop Service
- Configuring XP to Act as a Remote Desktop Host
- Installing Remote Desktop on an XP Client Computer
- Connecting to the Remote Desktop
- Making an Advanced Connection
- Working with the Connection Bar
- Connecting to a Remote Desktop via the Internet
- Changing the Listening Port
- Configuring Windows Firewall
- Setting Up Port Forwarding
- Configuring a Network Computer for Remote Administration
- Configuring a Network Gateway for VPN
- Configuring the VPN Client
- Making the VPN Connection