[IPython-User] Help troubleshooting notebook as public server

Matthias BUSSONNIER bussonniermatthias@gmail....
Tue Jan 10 02:00:06 CST 2012


Le 10 janv. 2012 à 00:57, Michael Waskom a écrit :

> Hi Fernando,
> 
> Thanks for the hypothesis generation. It turns out that indeed we do have a firewall on the network side that was blocking access.  To get IT to open some ports for me, I need to answer the following question, which I couldn't figure out from the docs (compounded by my limited understanding of, well, the internet):  whether the ports use UDP or TCP.

Sorry for poping in.
Do you also have a proxy ? I had a similar issue at work but didn't realized it before. 
I have to manually unset the proxy for the given hostname when I'm on the same side of the proxy than the webserver :

http://ipython.org/ipython-doc/dev/interactive/htmlnotebook.html#known-issues

For the ports to open, don't forget that if you open several webserver they will use different ports.
For TCP or UDP, I would guess TCP :
Wikipedia :
WebSocket is a technology providing for bi-directional, full-duplex communications channels, over a single Transmission Control Protocol (TCP) socket.
-- 
Matthias



> Also, I just want to paranoidly confirm that this server will be secure "out of the box" provided I followed the directions about setting up a password for my notebook and transmitting it via SSL (so that possible intruders don't get shell-like access to my system).
> 
> Thanks!
> 
> Michael
> 
> On Fri, Jan 6, 2012 at 3:26 PM, Fernando Perez <fperez.net@gmail.com> wrote:
> On Fri, Jan 6, 2012 at 1:15 PM, Michael Waskom <mwaskom@stanford.edu> wrote:
> > Oh, sorry; I'm using Chrome 16 in both cases.
> 
> A few things to try, though I'm shooting in the dark here:
> 
> - a different client browser on your laptop.
> - is it possible that the network you're on is filtering http traffic?
>  You say your firewall is off, but is that also true in the server
> (I'm not sure if you were referring to the client only)?
> 
> - try a simpler http server on the server:
> 
> python -m SimpleHTTPServer
> 
> and see if you can connect to it.  If this doesn't work, then there's
> a network http traffic issue.
> 
> - try disabling ssl and running the notebook over plain http just for
> a minute (you can still use a password, it's just that it will be sent
> in plaintext).
> 
> Let us know how it goes...
> 
> f
> 
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user



More information about the IPython-User mailing list