2

I have tried to open the jupyter notebook via anaconda and jupyter terminal. But getting the error message that "port already in use" . I have reinstalled anaconda many timing but isn't worked for me.

And getting this message "This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500" on the screen.

I am using python 2.7

mx0
  • 6,445
  • 12
  • 49
  • 54
Bharti Yadav
  • 21
  • 1
  • 2
  • Uhm....have you tried to see what process is using the 8889 port and maybe kill it? – Adrian Pop Oct 27 '18 at 19:05
  • See [this page](https://stackoverflow.com/questions/40373330/change-jupyter-notebooks-localhost8888-default-server-with-other/40436673). This isn't a problem with jupyter. There's just another program that's already using that port. Or Jupyter is already running, and you just don't know it. – David Culbreth Oct 27 '18 at 19:13
  • @Adi I am not getting anything application which is using all these ports. – Bharti Yadav Oct 29 '18 at 04:24
  • @David Culbreth, thanks for help. But getting same issue even after changing the port no. in config. file. – Bharti Yadav Oct 29 '18 at 04:25
  • Check these logs: may be helpful to get the issue: – Bharti Yadav Oct 29 '18 at 04:27

1 Answers1

3

Port 8889 is used by another Jupyter session. You can just kill the task that's using it, or you can run

jupyter notebook list

to check current notebooks. you can run

jupyter notebook --port 8888

you can also use another port instead of 8888,just replace 8888 by any other number you'd like.

Sachin
  • 1,460
  • 17
  • 24
  • I am getting nothing in server list (jupyter notebook list). and also tried by changing all the port, still getting this message "This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500" on the screen. – Bharti Yadav Oct 29 '18 at 03:48