DEV Community

Tek Kshetri
Tek Kshetri

Posted on

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

Top comments (1)

Collapse
 
ghoshbishakh profile image
Bishakh Ghosh

An easier way is to host your jupyter notebook on localhost only through pinggy.io: pinggy.io/blog/share_jupyter_noteb...