cant connect jupyter notebook via browser

I work with linode cloud service and i did installation below:
apt-get update
apt-get upgrade
sudo apt install python3-pip python3-dev
pip3 install --upgrade pip
pip3 install pandas
pip3 install numpy
pip3 install matplotlib
pip3 install scrapy
pip3 install jupyter
jupyter notebook --generate-config
sudo nano /root/.jupyter/jupyter_notebook_config.py
c.NotebookApp.ip = '0.0.0.0'

c.NotebookApp.open_browser = True

jupyter notebook password
jupyter notebook --allow-root --no-browser
here the problem shows and i cant connect the jupyetr notebook with browser by ip address. please if any one had the same issue before can give me help to fix this problem

root@localhost:~# jupyter notebook --allow-root --no-browser
[I 12:40:38.547 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[I 12:40:38.824 NotebookApp] Serving notebooks from local directory: /root
[I 12:40:38.824 NotebookApp] Jupyter Notebook 6.4.4 is running at:
[I 12:40:38.824 NotebookApp] http://localhost:8888/
[I 12:40:38.825 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

2 Replies

I haven't the faintest idea what you're talking about…

[I 12:40:38.824 NotebookApp] http://localhost:8888/

However, I'm going to go out on a limb here and say your app is only listening to localhost…not to your Linode's IP address(es). If that's the case, it will be impossible for a browser at another IP address to connect to your app using the internet.

You'll have to figure out how to fix this by yourself.

-- sw

Hey @salam22! If you're still interested, I'm happy to let you know that deploying JupyterLab through the Linode Marketplace is quite straightforward. We've taken care of all the configurations for you, so all you need to do is deploy and then access it via the provided domain or the default rDNS of your Linode. You can find more detailed information on deployment here:

If you're looking to use the classic Jupyter Notebook interface, just follow the steps in this link:

Hope this helps!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct