Failed to connect to Jupyter notebook.
See original GitHub issueHi, I try to connect to a server running on port 8888 (can be a local server or a forwarded ssh port).
I tried to specify multiple URI, like http://localhost:8888/
and http://127.0.0.1:8888/
, but I always get the same error Failed to connect to Jupyter notebook.
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:27 (12 by maintainers)
Top Results From Across the Web
Jupyter Notebook Kernel Not Connecting: Connection Failed
the original issue was caused by using pip in a conda environment to install some unrelated package (google.colab), which then messed up the ......
Read more >Anaconda jupyter notebook "connection failed" error
I'm facing the same error after re-installing Anaconda and found the solution here: https://github.com/jupyter/notebook/issues/4909.
Read more >Connection to the notebook server could not be established........
Hi guys, i am trying to open the d2l notebook for but kernel does not connect. I uninstalled and reinstalled everything but getting...
Read more >How to Fix Kernel Error in Jupyter Notebook
So, a kernel error occurs when Jupyter fails to connect with a specific version of Python. When the system encounters difficulties locating ...
Read more >Unable to connect to Jupyter notebook server (Error 404) from ...
A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, sorry I didn’t have time.
I just tested and it works. I did the following:
ssh -L 8887:localhost:8888 remote
jupyter notebook
http://localhost:8888/?token={long hexa string}
and replaced 8888 by 8887Python: Specify Jupyter server URI
>Type in the URI for the Jupyter server
multiprocessing.cpu_count()
to be sure)I don’t have the Don Jayamanne extension anymore.
@EED85 Thanks for getting back here. I’ve reopened the issue. Sorry about how hard this is to diagnose, it’s just tricky when I don’t have a local repro of the issues yet. I appreciate the help.
One think to check here. The Jupyter support is actually part of the main Python extension currently. The Jupyter extension with Don Jayamanne is not the same thing. That extension is actually discontinued as the functionality is rolling into the main extension. Could you try the scenario again after disabling the Jupyter extension? The two of them do similar things and they may be interfering with each other.