notebook: Connection refused
Every time I launch the Jupyter notebook using
jupyter-notebook
I get a
Connection refused: localhost:8888
I have to replace localhost
with 127.0.0.1
for it to work.
This occurs with all browsers I use: Opera, Firefox, Chromium OS: Ubuntu Gnome 16.04
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 7
- Comments: 19 (7 by maintainers)
@takluyver I just found out that it happens because I had Turbo mode on.
Aha. I think ‘Turbo’ mode in Opera uses a proxy server to prefetch pages. I’m surprised it doesn’t know to skip that for localhost, but I guess it doesn’t.
I have the same issue both with and without opera turbo, with or without VPN. If anyone finds a workaround, I’d be happy to hear about it
@takluyver @gnestor Running it runs:
Serving HTTP on 0.0.0.0 port 8888 ...
until I close it.I should update you that it is not working just in Opera. In Firefox and Chromium it works.
When Opera is used the url being used is
http://openurl%28http//localhost:8888/tree,new-page)
. And when usinglocalhost:8888/tree)
I get the Connection error.That sounds like something is misconfigured in Opera.