• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • 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?


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.
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

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