Unable to connect through remote desktop connection

I am facing this problem while connecting to a remote server through RDC...

Server is accessed through WAN.
I am able to ping it but unable to connect.

The error message received is as follows

The client could not establish a connection to remote computer
Who is Participating?
Phadke_hemantConnect With a Mentor Commented:
if you are behind the firewall, you need to open RDP port or allow the remote desktop connection service. also check whether RDC is enabled on the remote server and you have the rights to log on through terminal services
is the server behind firewall? is the RDP port is changed on the server?
which os the server is having? is it win server 2003 or 2000?
Phadke is right

Open port 3389 (RDP) on your firewall
Make sure you have checked allow remote connections in my computer/properties/remote tab
male sure routing and remote connections service is on in service
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

While all of the suggestions are good and will probbaly fix your problem you have a bigger one. I would NOT open an RDC port to the internet...

I would suggest re-thinking how you want to do this.

On my clients networks I establish a VPN FIRST then remote through that VPN to the machine I want access to.
Please also forward port 4125 and 3389
tellawiConnect With a Mentor Commented:
All what you need to do is to setup web based remote desktop connection and then you can customize the port number you need to use for remote connection. a very nice artical and all what you need to how to set it up as follows:



rujsAuthor Commented:
I am able to connect to other servers from the same terminal but not to this particular server.
I am getting this message now
"The connection was ended because of network error. Please try connecting to the remote computer again."
Thanks and regards,
are you able to resove the ip address of that server using hostname?
to to connect using the ip address
you may add that server to your hosts file e.g. add ip_addr athen press tab then type the servername like-

111.222.333.444      servername

add this entry to your hosts file which is located in C:\WINDOWS\system32\drivers\etc folder, if you are using windows 2000, you will find 'WINNT' instead of 'WINDOWS'
If you are getting the following error: "Unable to log you on because of an account restriction." the you probably using an user account with an empty password.

you can resolve this issue through global policies. check the following article from Microsoft:


this is another article can help you in troubleshooting remote desktop issues:



Are there any errors in the logs of the server you are trying to connect to?  Perhaps anything related to MS Licensing?

I think the initial track on checking port availability was the best first step.  However, we were never able to determine whether or not the client and server could communicate on port 3389.

Additionally, we did not determine if clients local to the server could connect (possibly pointing to a problem with Terminal Services on the server itself).  This would have been crucial in pinpointing the source of the problem (network or server).

Hope that helps.

rujsAuthor Commented:
Sorry Guys,
Sorry for not updating you people, but I could not wait for the resolution of the problem for so long as work had to be continued on that PC. My colleague formatted the PC and now I am able to use RDC to the required Server. I leave it to the Experts to decide what they want to do with the question.
rujsAuthor Commented:
If there are regular comments made by any member other than you, then you'll have to ask to have your question deleted by one of the Moderators; This is what I saw in the help.
Rindi, Could you please delete this question or please can you suggest what is to be done.
Helloo Guys,

Unable to Take RDP on Windows 2003 Servr- SP2

I am not able to take RPD on server, but we are able to ping & telnet port 3389.
No events error found for same,
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.