Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Connecting to local runtime via Google Cloud SDK #30

Description

@markmorr

Hi,

I am attempting to connect to a VM instance I started from GCP so that I can take advantage of a GPU in Google Colab. I am following the instructions here. I also attempted solutions from the issues raised here and here but they didn't work--I think my problem is somewhat different. I am using the following commands
First in Google Cloud SDK:
gcloud compute ssh --zone "us-central1-a" [instance_name] --project [project_name] -- -L 8889:locahost:8889
Then, in the instance that starts up:
jupyter serverextension enable --py jupyter_http_over_ws
jupyter notebook --NotebookApp.allow_origin="https://colab.research.google.com" --port=8889 --NotebookApp.port_retries=0 --no-browser

After those, my instance generates the url as expected, but when I paste it into my browser it says 'The site can't be reached.' (Connection reset error).
Any help or suggestions would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions