Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: trouble connecting to Remote Desktop


06 Jan 2010   #1

Windows 7 Professional x64
 
 
trouble connecting to Remote Desktop

Hello all,

I have been playing around with RD lately, and so far have successfully connected to my machine from another computer in my LAN. The logical next step is to connect from outside. I followed the instructions here for changing the port my computer listens to. Then I called my ISP, and they informed me that by default, all ports are open on their routers.

I crossed my fingers and hoped for the best, but when I entered my IP:Port into RD on another machine (in the same LAN), it just thinks a while and errors: "Cannot connect to the remote computer. Try again" (something like that).

I can still connect by entering my computer name.

What more do I have to do to RD from outside my LAN?


My System SpecsSystem Spec
.

06 Jan 2010   #2

Windows 7 Pro
 
 

If you changed the port number in your registry, you will need to add that port as an exclusion in your Windows firewall. At least thats what I had to do on my Vista box as I had 2 machines in my network, one on the default port and the other on a diff port.

Also verify that your router if you have one also has that port open.

Also did you reboot after making the port number change?
My System SpecsSystem Spec
06 Jan 2010   #3

Windows 7 Professional x64
 
 

Thanks Daniel. I just rebooted and checked my firewall (Windows Firewall). It still looks like Windows is listening to port 3389 for RD, but I cannot change it. I also tested connecting through 3389, but it does not work.
My System SpecsSystem Spec
.


06 Jan 2010   #4

Windows 7 Pro
 
 

You will need to add a new entry and set it for TCP port to exclude for the firewall and just add your port number to it.
My System SpecsSystem Spec
06 Jan 2010   #5

Windows 7 Professional x64
 
 

Okay, I added a new rule for my port, and it still won't work. Furthermore, I cannot even connect anymore by typing my username. Should I revert the reg entry back to the default?
My System SpecsSystem Spec
06 Jan 2010   #6

Windows 7 Pro
 
 

So are you getting connected to the machine and failing to log in? I'm confused when you said your typing your username so I want to be clear.

If you use port 3341 for your RD, then after the registry update and reboot, you add the TCP port exclusion for port 3341 and then connect to it from the remote machine. Anything from a router/firewall/personal software firewall needs to have the port open as well. Are you running any AV software with a firewall in it?

If you do, disable the firewall (one at a time) to track down which is the culprit. I would also disable the Windows one just to make sure that's not the issue.

If you have AIM, feel free to contact me on this as I'll be around for a few hours. The contact info is in my profile.
My System SpecsSystem Spec
06 Jan 2010   #7

Windows 7 Professional x64
 
 

I could not even connect to the computer.

I just reverted the reg entry back to 3389, now I can connect if I type my computer name (jonathan) instead of my IP:Port into RD.

I gotta leave, but I will do a little more testing.
My System SpecsSystem Spec
06 Jan 2010   #8

Windows 7 Pro
 
 

OK I just looked over the windows firewall stuff in Windows 7 and it's different from Vista so when you setup your rule did you allow for all three options? Public, Domain, and Private.
My System SpecsSystem Spec
06 Jan 2010   #9

Windows 7 Professional x64
 
 

Okay, I'm back.

I turned off the firewall for the time being.

I wonder if the problem is that the router is blocking the ports. Is there any way to test this?

I can now connect if I type in my computer name, but not if I type in the IP:Port. I set the port back to 3389 in the registry.
My System SpecsSystem Spec
06 Jan 2010   #10

 

been a while so forgive me if my info is a bit off:

just use the IP and not the port. The port addition is bypassing forwarding from what I remember.

the reason you can use your machine name is that it's actually forwarding using your router config and windows firewall rules. but when adding your ort, you bypass rules for the RDP thus it's hesitation and eventual failure.
My System SpecsSystem Spec
Reply

 trouble connecting to Remote Desktop




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:15 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33