-
Notifications
You must be signed in to change notification settings - Fork 177
Troubleshooting
J. Passing edited this page Apr 3, 2020
·
8 revisions
Error "Timeout waiting for TCP tunnel to be created. Check that the respective VM instance permits RDP ingress traffic from Cloud IAP."
- Verify that your VPC permits ingress traffic from Cloud IAP.
- Check that your firewall rules allow TCP ingress traffic from Cloud IAP to port 3389 of your VM instance.
Desktop firewall warnings
For each VM instance you connect to via Cloud IAP, IAP Desktop opens a TCP
socket that listens on 127.0.0.1 (using a dynamic port number). This port
is necessary to relay the RDP traffic from the Remote Desktop component
to Cloud IAP.
Other errors
If you are seeting other error messages, try manually establishing a Cloud IAP TCP forwarding tunnel:
- If you have not installed the Cloud SDK yet, download and install it first.
- Open a command prompt window (
cmd.exe). - Run the following command:
gcloud compute start-iap-tunnel [INSTANCE_NAME] 3389 --project=[PROJECT] --zone=[ZONE] --local-host-port=localhost:13389Replace[INSTANCE_NAME]by the name of an instance and[PROJECT]and[ZONE]by the project and zone the instance is located in. - Wait for the output
Listening on port [13389].to appear. - Launch
mstsc.exeand try to connect tolocalhost:13389.
If establishing the tunnel does not work, check if a local firewall is blocking gcloud
from binding to a local port or blocking communication with Cloud IAP.
IAP Desktop is an open-source project and not an officially supported Google product.