Jupyter Port

100 views
Skip to first unread message

testb...@gmail.com

unread,
Sep 12, 2017, 11:58:00 AM9/12/17
to Project Jupyter
Hi,
Could anyone please help me on the below?
I have Jupyter installed in a Linux server.
I have like 100 users who will be using Jupyter.

1. Does each user need to launch Jupyter using a dedicated unique port? If not, if all users use the same port for Jupyter, will there be any problem?

Thanks in advance!

Thomas Kluyver

unread,
Sep 13, 2017, 3:38:00 AM9/13/17
to Project Jupyter
If you have many users, you probably want to look at Jupyterhub, which is designed to provide notebook servers for many users:
http://jupyterhub.readthedocs.io/en/latest/

With Jupyterhub, each user will get their own server. Internally, this needs a separate port for each user, but Jupyterhub manages that transparently so the users don't need to know about it.

Thomas

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/25d8c337-d804-4588-9681-256add949577%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

testb...@gmail.com

unread,
Sep 14, 2017, 11:25:47 PM9/14/17
to Project Jupyter
Hi,
Thanks!
Since, I have Anaconda installed, users can use both Jupyter and JupyterHub. Could you please let me know if the users need to use Jupyter, do they have to use a dedicated port - one for each user?
I want to support both Jupyter and JupyterHub for the users.

Appreciate your help!


On Wednesday, September 13, 2017 at 2:38:00 AM UTC-5, takowl wrote:
If you have many users, you probably want to look at Jupyterhub, which is designed to provide notebook servers for many users:
http://jupyterhub.readthedocs.io/en/latest/

With Jupyterhub, each user will get their own server. Internally, this needs a separate port for each user, but Jupyterhub manages that transparently so the users don't need to know about it.

Thomas
On 12 September 2017 at 16:57, <testb...@gmail.com> wrote:
Hi,
Could anyone please help me on the below?
I have Jupyter installed in a Linux server.
I have like 100 users who will be using Jupyter.

1. Does each user need to launch Jupyter using a dedicated unique port? If not, if all users use the same port for Jupyter, will there be any problem?

Thanks in advance!

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

Kyle Kelley

unread,
Sep 15, 2017, 1:16:35 AM9/15/17
to jup...@googlegroups.com
There will definitely be one public port open per user for each notebook server (HTTP) as well as several ports on localhost (TCP) per kernel they run

To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Kyle Kelley (@rgbkrklambdaops.com)

Thomas Kluyver

unread,
Sep 15, 2017, 5:11:44 AM9/15/17
to Project Jupyter
On 15 September 2017 at 04:25, <testb...@gmail.com> wrote:
I want to support both Jupyter and JupyterHub for the users.

JupyterHub is something you, the system administrator, can use to give your users access to Jupyter. It's not something users would set up themselves.

If you don't do that then each user running Jupyter themselves will need a separate publicly accessible port. Jupyter tries up to 50 ports by default, if I remember correctly, so it should be OK with up to 50 servers running at the same time. But it might get slower to start if it has to try more ports.
Reply all
Reply to author
Forward
0 new messages