• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 317
  • Last Modified:

Change RDC Port

My client has 2 2003 server boxes behind a firewall and I need to get to both of them over the internet. I'm trying to change the port RDC uses on one of the servers from the default of 3389. I go into regedit and change the port to, say, 3391, open up the new port in the router and try to connect using <ip address>:new port # and it won't connect. If I take out
the :port# and reset the router to use 3389, it works? I go back to regedit
and the port shows it should be listening on 3391?
Any ideas? What am I missing? Do I have to re-boot the server?

Brian

0
crooksb
Asked:
crooksb
2 Solutions
 
Lee W, MVPTechnology and Business Process AdvisorCommented:
I assume you modified the firewall to allow 3391, right?

I never like changing the port in the registry - then on the LAN you need to remember to do that as well. I would instead suggest you keep your network secure and put in a VPN - even a Windows based VPN should give you RDP access without issue.  Failing that, I'd configure the router/firewall to essentially port map - have the firewall/router accept the request on 3391 and talk to the server at 3389.
0
 
isd503Commented:
You may be editing the Registry in the wrong area.  To change the port on the server; HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\Terminal Server\WinStations\RDP-Tcp, find the "PortNumber" subkey and modify 00000D3D (hex for 3389).  Remember your value has to be a correct hex value.

Also, don't forget to change the settings on your XP workstation:  http://support.microsoft.com/?scid=187623.

Also, check out this post:  http://www.experts-exchange.com/Operating_Systems/Windows_Server_2003/Q_20964651.html?qid=20964651.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now