Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPython notebook not working behind VPN

I'm running iPython notebook on my local computer. However, because I am in China, I need to use a VPN (specifically Astrill's OpenWeb protocol) to access most of the internet. On one of my PCs, iPython notebook won't run properly when the VPN is running. For example, when opening my homepage: http://localhost:8888/tree, I see the error message:

Astrill Error
Connection Closed Gracefully

iPython notebook also won't let me open or save workbooks if the VPN is running. Any idea why and how I can fix that?

like image 477
Alexis Eggermont Avatar asked Nov 10 '22 02:11

Alexis Eggermont


1 Answers

Just had the same problem 4 years later. Try replacing "http://localhost:8888/tree" with 127.0.0.1:8888/tree.

like image 85
tomas Avatar answered Jan 04 '23 01:01

tomas