How to Access Jupyter Notebook Remotely on Webbrowser

iamtekson

Tek Kshetri

Posted on October 19, 2021

How to Access Jupyter Notebook Remotely on Webbrowser

To access the remote jupyter notebook, you need to install and setup the jupyter notebook on server first. You can install the jupyter notebook using this tutorial. Now you can see the available options from jupyter notebook using this command,



jupyter notebook --help


Enter fullscreen mode Exit fullscreen mode

You will see the output like below,

Image description

If you scroll little bit below, you will see the --ip and --port options as well,

Image description

Protect notebook with password

To protect jupyter notebook with the password, you need to type following command,



jupyter notebook password


Enter fullscreen mode Exit fullscreen mode

The reason for you to make password is, When you access Jupyter notebook server on web browser, You have to enter the password.

Run the jupyter notebook on server



jupyter notebook –no-browser –ip=”your server IP Address” –port=8888


Enter fullscreen mode Exit fullscreen mode

Note: Replace the ip address by your ip in above code.

From now, your notebook can be access from remote web-browsers.

you can go to chrome and type, http://{your ip address}:8888 to access the same jupyter notebook.

Congratulations! You successfully setup the jupyter notebook on the remote server.

If you like this blog, please subscribe to my youtube channel: https://www.youtube.com/c/iamtekson

💖 💪 🙅 🚩
iamtekson
Tek Kshetri

Posted on October 19, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related