TechSpot

How to change default Remote Desktop listening port

?

Was this info helpful to you?

  1. Very

    66.7%
  2. Somewhat

    0 vote(s)
    0.0%
  3. Not very

    0 vote(s)
    0.0%
  4. Not enough info

    0 vote(s)
    0.0%
  5. Too much info

    0 vote(s)
    0.0%
  6. I alreay knew this

    33.3%
Multiple votes are allowed.
By milky
Nov 23, 2005
  1. Setup Remote Desktop on multiple pc's on the same LAN:

    By default, Remote Desktop Protocol (for Windows XP and Server 2003) listens on TCP port 3389.
    Each PC needs to listen on a different port in order for the Remote Desktop request coming in from the client PC to be forwarded by your router to the proper host PC.

    To make a host PC listen on a port other than the default port 3389, you must edit the registry.

    :confused: IF YOU'VE NEVER EDITED THE REGISTRY BEFORE BE CAREFUL!
    EDITING THE WRONG FILES CAN PERMANENTLY DESTROY YOUR OPERATING SYSTEM! :hotouch:

    Run Regedit and go to this key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
    Control\Terminal Server\WinStations\RDP-Tcp

    Find the PortNumber subkey and notice the value of 0x00000d3d (3389).
    Modify the port number to any unused port (ie-3390 or d3e in hex) and save the new value.
    [​IMG]

    Reboot for this change to take effect.

    Now you need to configure your router to forward the different port requests to the proper local IP address. For the common Linksys WRT54G router, it should look something like this...

    Port Range Forward:
    [​IMG]

    Port Triggering:
    [​IMG]

    That's it! Now just specify the port when you want to connect to a host PC listening on a port other than 3389.
    [​IMG]

    Oh yeah...make sure you open the new port in your Windows Firewall and any other firewall you might be using!
     
  2. nickc

    nickc TechSpot Paladin Posts: 1,644

    well I just thought I would vote, I do not need such but was interesting to see how, and who knows some day I might need it and now know where to find it.
     
  3. milky

    milky TS Enthusiast Topic Starter Posts: 107

    So much for the poll question...556 views, 2 votes???
    Doesn't anyone have an opinion?

    puke:
     
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.