Link to home
Start Free TrialLog in
Avatar of cwemely
cwemely

asked on

Can't access Windows 2012 Server via RDP

Hi,

Having an issue connecting to a new Windows 2012 server via RDP. I have done some searching on this and I have tried setting the ports explicitly in the firewall and allowing any remote access and those changes didn't work. I can access the Internet from the server and even RDP to another server, but I can't access it from another machine.

This is driving me crazy, as I know it must be something silly.

Thanks.

Chip
Avatar of Deja Anbu
Deja Anbu
Flag of Oman image

what is the error are you getting?
can you able to ping the server?

check whether the port is open on the server using the following command from other machine
telnet (type your server name or IP Address here) 3389

Uncheck the option [Allow Connections only from computers running remote desktop with network level authentication (recommended)] from remote setting
Do you have RDP enabled?
Is your firewall enabled? Have you enabled RDP through your firewall if it is?
Avatar of cwemely
cwemely

ASKER

Hi dejaanbu - I am not getting any error. It just won't connect. I can't ping the server either. Tried the telnet to that port with no success. Already unchecked the "Allow connections. . . " box.


Hi Sean - Yes RDP is enabled. Firewall is enabled and I tried disabling it. No joy.

To All - I discovered that I can ping and RDP to this server from another server on the same subnet,, but I can't form another subnet. I have tried changing firewall rules on our Cisco firewall without success.

I set another server up at the same time and it is working just fine. I can't figure out what is different about this machine.

Thanks.
Check your routing/VLANs, are you not able to access the 'server' network from the machine you are attempting to RDP/ping from?
since you can't ping , try to trace the network communication from other subnet to this problematic server
Avatar of cwemely

ASKER

Sean - The frustrating part is that I can ping and RDP to another server I made at the same time with no issue. The communications to that network are working.

Dejaanbu - How would I trace the network communications to that server?
go to command prompt and type "tracert (ipaddress of problematic server)"

more info about tracert here:
http://support.microsoft.com/kb/162326
Check the subnet mask on that server.  Is it the same as the other server on the same subnet?   Do both have a gateway defined?   Is your client machine able to RDP/ping the other server?
Avatar of cwemely

ASKER

OK. Here is the current scenario:

1. I created two identical servers at the same time on the same network.
2. The only difference off the bat was that Windows declared a public network on the server having issues. I changed that to private.
3. I can ping and RDP to the good server from another network. I can't ping or RDP to the problem server from another network.
4. I can ping and RDP to the problem server from the good server on the same network.

So . . . with those four facts, I can't figure out what is the issue. If it was a network to network issue, I wouldn't be able to get to the good server. If it were an issue with the problem server, I wouldn't be able to access it from the good server.

More thoughts?

Thanks.
An incorrect subnet mask would cause this kind of issue.   Also, when you disabled the firewall during troubleshooting, did you stop the service or disable it on the "profiles" (domain/public/private)?
ASKER CERTIFIED SOLUTION
Avatar of cwemely
cwemely

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cwemely

ASKER

OK. This is really strange. I changed the IP address and it worked. But, now it won't again! I didn't do anything different. I will try changing IP address one more time.
what is the setting for the network location set to? home/public/work or is it finding the domain?

http://windows.microsoft.com/en-us/windows/choosing-network-location#1TC=windows-7
1. Check Remote Desktop Settings
2. Configure the allowed program features in Windows firewall
3. Configure the Inbound of Remote Desktop in Windows firewall advance Settings

This will solve your problem as long the ip address config is correct.
Avatar of cwemely

ASKER

Sean - Network location was set to Public when I first setup the machine. I changed it to private. It is not on a domain.

Kyokusanagi - 1. Done; 2. Done; 3. Done. Still no joy. I even specified an additional rule for port 3389 as I read a post that sometimes Server 2012 doesn't let RDP in by specifying the program alone.

BTW, now four hours later and the second IP address change now doesn't work. It works as soon as I change it and then stops working after a period of time. I have done this twice to test.

Thanks.
Silly question: You do have RDP enabled on the server right? If your looking at the server management window it says Remote Desktop - Enabled?
Avatar of cwemely

ASKER

Issue not yet resolved.
Avatar of cwemely

ASKER

Sean - Yep. Triple-checked every setting.
Avatar of cwemely

ASKER

OK. Further update. When I use NAT on the local address it causes the server to stop responding to RDP. When I remove the NAT, I can RDP to the server, but I still can't ping.

I tested this again and it works until I enable NAT.

Weird! Thoughts?
Avatar of cwemely

ASKER

Finally resolved issue. It was a setting on the network firewall that was different between the two.

Thank you for your help!
Avatar of cwemely

ASKER

I was able to resolved the issue by changing IP addresses.