Getting Started

Getting Started

Troubleshooting connection issues on Google Cloud

Troubleshooting connection issues on Google Cloud

The firewall in Google Cloud can block access to your VM. If this occurs, add a firewall rule to allow RDP and SSH access to your VM instances.
When Google Cloud blocks access, the runtime environment fails to start with the following error:
Connection Failed. We are unable to connect to the VM on port 22.
  1. In the Google Cloud console, go to the
    Firewall Rules
    page.
  2. Click
    Create firewall rule
    .
  3. Create a firewall rule with the following settings:
    Setting
    Value
    Name
    Enter a name for the firewall rule. For example:
    allow-ingress-from-iap(<name>)
    Direction of traffic
    Ingress
    Action on match
    allow
    Target
    All instances in the network
    Source filter
    IP ranges
    Source IP ranges
    35.235.240.0/20
    Protocols and ports
    Select
    TCP
    and enter
    22,3389
    to allow both RDP and SSH.
  4. Click
    Create
    .

0 COMMENTS

We’d like to hear from you!