hot to change listening port remote desktop connection windows 7
I tried the technique to change the listening port using Regedit to change
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber. I choose a port number in the unassigned range 54840 and it does not work. If I don't change the port I can remote desktop to my windows 7 machine. I am doing
it on a subnet using 192.168.1.51. With the listening port unchanged everything OK. With the port change 192.168.1.51:54840 I get "computer can not connect to remote computer". Any ideas what else could be wrong?
This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
After you change the listening port on the RDC host/server computer and reboot the computer run the
netstat -a command and check to see if the computer is listening on the new port, ie. 54840 in your case.
You might also look at using the PortQry or PortQryUI tools on your RDC host/server computer and a RDC LAN client to check if the port is actually listening on the RDC host/server computer.
Here is an example of using the PortQryUI tool on my Win 7 laptop to check on TCP Port 5938 on my wife's Win 7 desktop. In this case I use TeamViewer to remotely access/control her desktop over our home LAN for admin/maintenance purposes. TeamViewer uses
TCP Port 5938 over the private LAN.