[IPython-dev] IPython Notebook on Webfaction
Thomas Kluyver
takowl at gmail.com
Wed Sep 19 05:49:27 EDT 2012
On 19 September 2012 08:49, T J <tjhnson at gmail.com> wrote:
> the last response from the OP mentions that each open notebook uses 3 random
> ports (which differ from the port that the IPython notebook server listens
> on). Is this true? This seems like it would be an issue for me. Can
> someone explain, in general, what IPython notebook is doing with these other
> ports?
One of them is the main request/response channel (e.g. 'execute this
code', 'get completions for foo'), one is a publication channel,
primarily for things printed to stdout, and I think the third is to
get input for stdin (although the notebook doesn't currently implement
that).
There's a pull request open that experiments with merging the three
websocket channels into one - that might help you:
https://github.com/ipython/ipython/pull/2321
Best wishes,
Thomas
More information about the IPython-dev
mailing list