DEV Community

Tek Kshetri
Tek Kshetri

Posted on

15 1

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

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

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...

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more