Failed to start jupyter

When I try to start jupyter it shows me an error: -

ERROR: the laptop server could not be started because an available port was not found.

The terminal log is as follows: -

[I 20:52:08.747 NotebookApp] The port 8888 is already in use, trying another random port. [I 20:52:08.748 NotebookApp] The port 8889 is already in use, trying another random port. [I 20:52:08.748 NotebookApp] The port 8890 is already in use, trying another random port. [I 20:52:08.749 NotebookApp] The port 8891 is already in use, trying another random port. [I 20:52:08.750 NotebookApp] The port 8892 is already in use, trying another random port. [I 20:52:08.750 NotebookApp] The port 8988 is already in use, trying another random port. [C 20:52:08.779 NotebookApp] ERROR: the notebook server could not be started because no available port could be found. 

And I also checked my system to check which process is running on this port, and I found that no process is running and all these ports are not being used by any process. But still get this error.

enter image description here

I also changed the default jupyter port to a different port, but still getting the same error.

+5
source share
1 answer

The error cannot be caused by jupyter, but your system.

To fix this, you can try opening a simple HTTP server on port 8888 and see if the error message matches.

You can try one of the following commands to start the http server:

 python -m SimpleHTTPServer 8888 (Python2) python -m http.server 8888 (Python3) 
0
source

Source: https://habr.com/ru/post/1246780/


All Articles