Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

firewall rules

hello all,

 

since yesterday, I have an SSH issue. I am not able to connect to my instance.

I have this message:

margabs_0-1703413747982.png

 

I have changed nothing on firewall rules.

 

Can you help me?

 

Thanks in advance

1 2 255
2 REPLIES 2

Hi @margabs,

Please try following the steps provided in the official documentation, Failed to connect to backend:

The following errors might occur when you connect to your VM from the Google Cloud console or the gcloud CLI:

  • The Google Cloud console:

     
    -- Connection via Cloud Identity-Aware Proxy Failed
    
    -- Code: 4003
    
    -- Reason: failed to connect to backend
    
  • The gcloud CLI:

     
    ERROR: (gcloud.compute.start-iap-tunnel) Error while connecting [4003: 'failed to connect to backend'].
    

These errors occur when you try to use SSH to connect to a VM that doesn't have a public IP address and for which you haven't configured Identity-Aware Proxy on port 22.

To resolve this issue Create a firewall rule on port 22 that allows ingress traffic from Identity-Aware Proxy.

Please let me know if that was helpful. Thank you! 😃

Hi lawrencenelson ,

Thanks for your reply.

I have resolved this issue by stopping/starting the VM.
It is all fine now....