Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
514 views
in Technique[技术] by (71.8m points)

windows subsystem for linux - Jupyter notebook server running but not opening in a browser

I have install miniconda and jupyter on windows through wsl. Although the server starts, i am unable to open the same in the browser. Thus i cannot access the started jupyter notebook.

Attaching the screenshots for the same. Successful server started

Unable to open in browser

I tried opening the notebook from the runtime .html file, using "localhost" or "127.0.0.1". I also tried running the notebook using the command "jupyter-notebook" whose alias i defined in bashrc. Please help.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

This sounds similar to this question which I previously answered. While that was for Django and yours is about Jupyter, I have a feeling it's the same root issue.

If you do a python3 -m http.server 3001, can you access it from Windows at http://localhost:3001? If not, then it's probably the port forwarding problem rather than anything specific to Jupyter.

The consensus of those that commented on my answer seemed to be that wsl --shutdown was the best solution. I can say that, since then, even though I have Fast Startup disabled, I've seen the problem and had to do a wsl --shutdown and restart to resolve.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...