Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't run Jupyter Notebook on external ip address #11

Open
felixilie opened this issue Apr 21, 2020 · 0 comments
Open

Couldn't run Jupyter Notebook on external ip address #11

felixilie opened this issue Apr 21, 2020 · 0 comments

Comments

@felixilie
Copy link

felixilie commented Apr 21, 2020

The following was probably due to firewall at my local university's WiFi.

Managed to solve the following by tunneling to local host using:
gcloud compute ssh --zone "us-west1-b" "<YOUR_VM_NAME>" --project "<YOUR_PROJECT_ID>" -- -L 8888:localhost:8888
(first port is where the session should run on remote, second port is where it will be accessible on local)
On the SSH session run jupyter notebook and you will be able access he notebook from your browser by visiting localhost:8888

BTW, Gcloud's AI Platform Deep Learning VM Image instance starts JupyterLab session every time when initialized at port 8080 and can be accessed directly by:
gcloud compute ssh --zone "us-west1-b" "<YOUR_VM_NAME>" --project "<YOUR_PROJECT_ID>" -- -L 8080:localhost:8080
My problem was that it will open from /opt/deeplearning/workspace/tutorials which I didn't figure out how to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant