When I attempt to remote into my server through Windows Remote Desktop I get an error and it won’t allow me to establish connection to my server.
Asked
Active
Viewed 104 times
2 Answers
2
To connect to GCE Windows VM through Remote Desktop Protocol (RDP) you need to add a firewall rule that allows to establish TCP connection on RDP port (3389
by default):
gcloud compute firewall-rules create allow-rdp --allow tcp:3389
You can find additional information about RDP connection troubleshooting in GCE documentation.
![](../../users/profiles/467909.webp)
Igor Dvorzhak
- 152
- 9
0
I would however be a little more careful and only allow it from your own external IP at the very least - or preferably using something like Identity aware proxy (IAP) :
![](../../users/profiles/571107.webp)
discondor
- 139
- 3