Issue
I am getting following error when I run Jupyter Notebook:
(base) C:\Users\ramne>jupyter notebook
[I 01:19:00.648 NotebookApp] The port 8888 is already in use, trying another port.
And when I do netstat -ano | find Str "8888" , I get the following:
C:\Users\ramne>netstat -ano | findStr "8888"
TCP 127.0.0.1:8888 0.0.0.0:0 LISTENING 16024
TCP [::1]:8888 [::]:0 LISTENING 16024
I don't know what the default connection of port 8888 is or what its behavior should be like. How do I fix this error so I can open Jupyter Notebook?
Solution
The port 8888 is used almost exclusively by Jupyter, and the fact that it's in use indicates more than anything that you have another Jupyter session already running. I'm 99% certain you can just kill the task that's using it, or you can run
jupyter notebook list
to see current notebooks. And as mentioned in the other answer you can run
jupyter notebook --port 8889
To run on a different port instead (replace 8889 by any other number you'd like).
Answered By - Hans Musgrave
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.