Changing the RDP port

G

Guest

Hi,

I changed the RDP port from 3389 to 45455 rebooted and I can't connect to
port 45455, only port 3389. In the registry I can see that the change is
there. When I do an netstat -a it shows the computer is still listening on
port 3389. Any ideas?
 
P

Pegasus \(MVP\)

Tim said:
Hi,

I changed the RDP port from 3389 to 45455 rebooted and I can't connect to
port 45455, only port 3389. In the registry I can see that the change is
there. When I do an netstat -a it shows the computer is still listening on
port 3389. Any ideas?

Where exactly did you set the new port number?
 
G

Guest

I changed it in:

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

I have made the changes on many machines before and never had any problems.
All the windows firewall settings are the same as on the other working
machines. But what really bothers me is the netstat -a.
 
P

Pegasus \(MVP\)

This is the correct registry key. I assume you made sure that
45455 is a decimal rather than a hex value.

Instead of using netstat, use telnet to test the port:

telnet YourServer 45455

You did write that you rebooted the machine. Are you absolutely
sure you did?
 
G

Guest

When I telnet to 3389 I get a prompt. When I telnet to 45455, I get "Could
not open connection to the host, on port 45455...." The value is a decimal
value.

The machine has been rebooted twice.
 
P

Pegasus \(MVP\)

I think you're talking to a different machine than the one you
believe you're talking to. Try the telnet command from the
very machine you're working with, using this command:

telnet %ComputerName% 45455

Then for good measure you should execute this command:

regedit /E c:\test.reg
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\WinStations"

Does c:\test.reg show the correct port number?
 
G

Guest

Hi,

Found the problem. I did a closer examination and PC Anywhere was installed
on the machine. As soon as I removed it and re-booted and the changed port
came to life.

Thanks for you time on this.
 
P

Pegasus \(MVP\)

Thanks for the feedback.

Tim said:
Hi,

Found the problem. I did a closer examination and PC Anywhere was installed
on the machine. As soon as I removed it and re-booted and the changed port
came to life.

Thanks for you time on this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Telnet to 3389 works but RDP connection bails 0
Remote Desktop connection 4
RDP issues 4
3389 2
RDP from XP to Vista Ultimate 6
RDP not working - vista ultimate 3
RDP 2
Remote Desktop 3

Top