[IPython-dev] Cannot connect to kernel when not using localhost

Justin jg3705a at student.american.edu
Fri Mar 27 21:30:13 EDT 2015



On 03/27/2015 07:44 AM, Justin wrote:
> Ok, I got it to work.
>
> In case anyone else is having this problem, I had to go into my router 
> settings (att)
> and enable IP passthrough (DHCPS-fixed mode) and point it to the 
> machine running
> the notebook.
Sorry, I jumped the gun here.

Doing the above change allows me to execute notebook cells but only
on the machine (my home desktop) that is running the notebook server.

When I try from my laptop (also on my home network),
I still cannot execute code cells.

I guess this is not really an IPython/Jupyter issue, but I was wondering if
there are any known troubleshooting steps I can take to get a better idea of
what's going on.


>
> After that voila, no problems.
>
> Thanks for the help.
>
>
> On 03/26/2015 05:37 PM, Thomas Kluyver wrote:
>> On 26 March 2015 at 16:40, Justin <jg3705a at student.american.edu 
>> <mailto:jg3705a at student.american.edu>> wrote:
>>
>>     Note that I can edit markdown and raw text cells, I just cannot
>>     execute
>>     code.
>>
>>
>> This sounds like websockets are getting blocked somewhere - is there 
>> any proxy involved? If you have a proxy set up for other internet 
>> access, you may need to specifically tell it to let local IPs go 
>> through directly.
>>
>>     On another note, it takes a very long time (~ 1 minute) for my
>>     browser to
>>     connect to https://<myip>.9999/ Not sure if this is part of the issue
>>     but I thought
>>     it might be useful.
>>
>>
>> Timeouts of ~1 minute can be related to DNS - it's trying something 
>> until it times out, and then falling back to another thing which 
>> succeeds. I don't know why that would come up when you're going 
>> directly to an IP address, though.
>>
>> Thomas
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150327/c21b249b/attachment.html>


More information about the IPython-dev mailing list