Carol,
thanks a lot for your informative and fast reply.
Unfortunately, that's not what I am looking for. I need to get the port
number from within an IPython cell. Maybe this isn't the right forum for
this kind of question--I will try posting on the IPython group.
Thanks again,
DG
On Monday, February 6, 2017 at 6:22:44 PM UTC-8, Carol Willing wrote:
>
> 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 <javascript:>
> 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] <javascript:>.
> To post to this group, send email to [email protected] <javascript:>
> .
> 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/03dce532-9818-4842-a28f-e3c3c703f97b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.