How to fix "ERROR: the Jupyter server could not be started because no available port could be found" in Jupyter Notebook

ERROR CODE 

Jupyter notebook doesnot start with Port is already in used or Port access is denied error

[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.



Method 1: 

Restart PC, Reinstall anaconda , Update anconda
 

Method 2: 

Stop and restart jupyter notebook server
jupyter notebook stop 8888
jupyter notebook --ip=0.0.0.0 --port=8888 

Method 3: 

Stop and restart Window NAT driver
net stop winnat
net start winnat

0 comments:

Post a Comment