Jupyter Lab Installation: Cannot Access

proxdan123

New Member
Feb 28, 2024
2
0
1
Hello, I'm trying to install Jupyter Lab using pip as indicted in the instructions at the link below. I started by creating a LXC container with ubuntu 23.10, ran update and upgrade, then installed python3 and jupyter lab. It seems to run ok, but it then tells me to open a web browser to access it at localhost:8888. I tried that, I tried replacing localhost by the LXC's ip address, but nothing connects.

I'm confused because there was no problem connecting to web interfaces in other containers I installed: immich, jellyfin, metabase, etc. I would appreciate any advice on what to try.

https://jupyter.org/install

Daniel
 
You cannot access it at localhost, this address is always your local machine on which you're currently at. You need to start Jupyter(Lab) and bind to 0.0.0.0, which is IIRC an extra option.
 
  • Like
Reactions: proxdan123
You cannot access it at localhost, this address is always your local machine on which you're currently at. You need to start Jupyter(Lab) and bind to 0.0.0.0, which is IIRC an extra option.
Thanks for your advice, it worked by running:
Code:
jupyter lab --allow-root --ip=xxx.xxx.x.xx
where xxx.xxx.x.xx is the IP address of the LXC container.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!