Remote Desktop to two PC's

joeyg2391

Member
Mar 31, 2004
77
0
0
Hi,
I have two PC's that i want to be able to access over the internet. I have default port for remote desktop open on my router. The problem is that when i try to access remote desktop it automatically goes to my server instead of my PC. Server(192.168.1.5) and XP machine(192.168.1.11). I put in my logon name for my XP machine but it goes to the server. I have a lnksys router with port fowarding to remote desktop on on both ip addresses. Is there a way around this?
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,563
432
126
You can not open a Port in General. On Entry Level Router when you open a port it has to be associate with One specific IP (I.e. Computer).

Remote Programs will go automatically to the computer that is associated with the open port.

Your open port is probably associated with the wrong computer's IP.

:sun:
 

joeyg2391

Member
Mar 31, 2004
77
0
0
i have both ip address entered on the port fowarding table in linksys. port 3389 is opened for both ip addresses.
 

Talksmartz

Member
Sep 24, 2004
150
0
0
There are two ways to accomplish this.
One is to setup the Remote Desktop Web Connection - works well, but you have to work a bit to configure it - since you only have 2 PC's this is probably not what you want to do.
The easy way is to change the port that oone of the computers listens on (IE, one of my computers is configured to listen on port 3388 the other being default on 3389) -

Here are directions to change the port: (it involves editing a registry sting, please do not attempt if you are unfamiliar with editing the registry).

1. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
2. On the Edit menu, click Modify, and then click Decimal.
3. Type the new port number, and then click OK.


All you need now is to forward the NEW port to that computer.
3389 to one computer 3388 (if that's what you choose) to the other.
 

joeyg2391

Member
Mar 31, 2004
77
0
0
I thought of that too but when im using remote desktop where am i going to type in the port to listen to 3388. Or should i work normally?
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,563
432
126
Whatsmyip.org shows you your External Internet IP given to you by you ISP. Since you have One account it is the same external for all computers. Or to be more accurate it is the WAN IP of your Router.

To find out your Internal IPs (the 192.168.xxx.xx) read this:

Link to: How Do I Find my IP and MAC Numbers?

Link to: Using IPCONFIG Command Line Utility, and or Winipcfg (Wntipcfg) GUI Utility to find Local Network Info (IP, MAC).

Help for Remote Desktop here.

Link to: Set Up Remote Desktop Web Connection with Windows XP.

Link to: How to use remote Desktop Access in Windows XP.

Or you can try this Free Remote program.

Link to: Ultr@VNC - Installation, and Settings

:sun:
 

stash

Diamond Member
Jun 22, 2000
5,468
0
0
Why does it matter? You only need to forward 3389 from the Internet to one of your machines. Once you are in, you open another RDP connection from that machine to the other.

I have 6 machines on my home network. I connect to one server, and then I can open connections to any of the other 5 (or all 5) with no problems.
 

Talksmartz

Member
Sep 24, 2004
150
0
0
Originally posted by: joeyg2391
I thought of that too but when im using remote desktop where am i going to type in the port to listen to 3388. Or should i work normally?

When you open the remote desktop client externally, the simply add ":3388" (or whichever port number you chose)

ie.
xxx.xxx.xxx.xxx:3388
 

mboy

Diamond Member
Jul 29, 2001
3,309
0
0
If you are not using different ports on each PC, then you will not be able to directly RDP more then 1 PC.
The only way to do this is to get a VPN enabled firewall/router and access your network with a VPN client. Once u have established a tunnel to the firewall/router, you will then be able to RDP into any one of your LAN machines without changing the default port (3389)
 

jihiggs

Junior Member
Oct 10, 2004
1
0
0
i am having a problem with port changing. i have two computers, one 2k server running terminal services, one xp running rdp. i have tried changing the port number on the xp machine to 3388, among others for the rdp. the connection works fine from other computers in my network but it wont connect to the new port from the internet. the ports are forwarded through my server wich is running routing and remote access. i changed the port back to the default and changed the default port on the terminal services server to somthing else and forwarded 3389 port to the xp machine and it works fine from the internet. now i cant connect to the ts with the different port number from the internet, only from the local network. i have searched high and low and couldnt find any information as to why this happens. any one got any thoughts?