Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to run Jupyter notebook on Google Cloud

I am trying to run a Jupyter Notebook on Google Compute Engine(Linux VM).

After all the setting up of the VM instance, I tried to access the Jupyter Notebook on the browser with my url which is of the form:

http://INSTANCE-EXTERNAL-IP-ADDRESS:PORT-NUMBER

The browser loads for a while and then I get a connection timed out. I attempted to connect to the url with chrome and firefox.

Why do I get a connection timed out?
How do I get my notebook running?

like image 797
10101010 Avatar asked Jan 05 '18 14:01

10101010


1 Answers

I solved the issue using this command:

jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser &

Do not forget to setup your firewall.

like image 135
Vadim Avatar answered Sep 27 '22 20:09

Vadim