[IPython-dev] IPython Notebook on Webfaction
Thu Sep 20 14:42:26 CDT 2012
On Wed, Sep 19, 2012 at 9:32 AM, T J <firstname.lastname@example.org> wrote:
> On Wed, Sep 19, 2012 at 4:49 AM, Thomas Kluyver <email@example.com> wrote:
>> On 19 September 2012 08:49, T J <firstname.lastname@example.org> wrote:
>> > the last response from the OP mentions that each open notebook uses 3
>> > ports (which differ from the port that the IPython notebook server
>> > 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
>> > 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
>> There's a pull request open that experiments with merging the three
>> websocket channels into one - that might help you:
> Look promising. This pull requests seems to make it easier to use the
> notebook behind a proxy, but its unclear to me if this allows me to
> restrict which the ports the notebooks will try to use.
People get confused by the fact that the notebook communicates with
*kernels* via random localhost ports (even there, it connects, it does not
listen). All communications with browsers happen over a single port, and
the notebook server only ever listens on that single user-configurable port.
> IPython-dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev