Can't RDP to either machine but I can ping both?
Andrew Henderson
First computer is 10.12.1.131
Second is 10.12.1.132
I ran netstat -an | find "3389" on both machines:
C:\Windows\system32> netstat -an | find "3389" TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING TCP [::]:3389 [::]:0 LISTENING UDP 0.0.0.0:3389 *:* UDP [::]:3389 *:*
C:\Windows\system32>Results from both machines.
So both machines can ping each other, and when I check the firewall, it allows RDP. When I open Windows Explorer and go to Network, it shows the PC. Yet I can't RDP into either machine or even remotely access the file system.
Here's another error when I try to access the file system instead of trying to remote connect:
21 Answer
Use Telnet to Isolate the Cause
One more thing you need to try is to Telnet to port 3389 and see if you're actually able to make a connection. On your local PC run the command:
telnet remote_pc_or_ip 3389Note: You may need to turn on the "Telnet Client" Windows feature in order to enable this command.
If you are immediately taken to a completely blank screen, the connection was successful. If necessary press Ctrl+] followed by quit then Enter to exit the telnet session.
However, if you get any other response, (e.g. "Connection Refused") then it's clear something is blocking your traffic. You need to find out what that is and disable it.
It may be helpful to try to connect using the remote PC's NetBIOS name, DNS hostname, and IP address. Sometimes an improperly configured network can lead to one form working while others don't. You may even wish to try the target machine's IPv6 address.
Additionally you can run Telnet directly on the computer you're trying to connect to in order to confirm it's properly configured to accept RDP connections:
telnet 127.0.0.1 3389This has the advantage of testing the RDP connection without going through any firewalls or security devices that may be filtering network traffic. Even most locally installed security programs will allow locally initiated network traffic when they're otherwise blocking traffic from remote nodes.
If this test succeeds, but connections from remote machines fail, then you can be certain Remote Desktop services are working correctly, but something is indeed blocking network traffic between the remote and local PCs.