Hi DG,
There are a few places to find the port number:
1. Starting the notebook `jupyter notebook` displays the port in the
console messages. [ref 1
<https://jupyter.readthedocs.io/en/latest/running.html?highlight=port#starting-the-notebook-server>]
2. Specifying a particular port number can be done using `jupyter
notebook --port 8899` [ref 2
<https://jupyter.readthedocs.io/en/latest/running.html?highlight=port#how-do-i-start-the-notebook-using-a-custom-ip-or-port>]
3. A port number can be specified in the `jupyter_notebook_config.py`
file by adding `c.NotebookApp.port=8899`. [ref 3
<https://jupyter-notebook.readthedocs.io/en/latest/config.html>]
I hope this answers your question. If not, please do ask for more
information.
Thanks,
Carol
DG <mailto:[email protected]>
February 6, 2017 at 3:42 PM
Hello, can anybody please show a way to get the port number of the
server connection in an IPython notebook command? I could not easily
find this in the documentation.
Thanks,
dg
--
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 [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/1ceb0932-1641-44a9-854c-f93a968d9835%40googlegroups.com
<https://groups.google.com/d/msgid/jupyter/1ceb0932-1641-44a9-854c-f93a968d9835%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Carol Willing
Research Software Engineer, Project Jupyter
Cal Poly San Luis Obispo
Director, Python Software Foundation
Strengths: Empathy, Relator, Ideation, Strategic, Learner
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/58992F71.9080600%40gmail.com.
For more options, visit https://groups.google.com/d/optout.