Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't connect to RDP from Compute Engine

I have created an instance of Windows server 2008 but it does not connect to RDP..........

I tried by using Remote Desktop Connection and RDP Extension of Chrome, but it ended with the same result.

It just displays that "Chrome does not connect to "

Should I do some changes with firewall or anything else????

How to Launch Windows VM Instance on Google Compute Engine.

like image 521
adeel ahmed Avatar asked Apr 02 '15 03:04

adeel ahmed


People also ask

Why is my RDP not connecting?

The most common cause of a failing RDP connection concerns network connectivity issues, for instance, if a firewall is blocking access. You can use ping, a Telnet client, and PsPing from your local machine to check the connectivity to the remote computer. Keep in mind ping won't work if ICMP is blocked on your network.

Can ping PC but Cannot RDP?

If you can ping the remote IP address but can't RDP, it means that the RDP failure isn't related to the network. And take a look at other reasons that cause the problem "cannot connect to the remote computer using RDP": Remote Desktop isn't enabled on or seated up a specific user.


1 Answers

You should first check that port 3389 is open on the GCE firewall. If not, run a command like this to create the rule $ gcloud compute firewall-rules create rdp --allow tcp:3389 --source-ranges 0.0.0.0/0 . More info is available here.

Also, make sure you have the right username and password. This was set when you first created the instance. To check, please run $ gcloud compute instances describe INSTANCE_NAME --zone ZONE and it will give you the initial user and password.

like image 83
Marius I Avatar answered Oct 07 '22 10:10

Marius I