본문 바로가기

IT/IDE

[Jupyter Notebook] 실행 작업 확인 및 종료

jupyter notebook list

I get this:

http://localhost:8889/?token=blah :: /Users/me/storyfit/data-mining/research
http://localhost:8891/?token=blah2 :: /Users/me/storyfit/data-mining
http://localhost:8890/?token=blah23 :: /Users/me/storyfit/data-mining/research
http://localhost:8888/?token=blah54 :: /Users/me/storyfit/data-mining/research

 

 

The port 8888 is already in use, trying another port. 라는 에러메세지가 뜬다면 아래와 같이 서버를 종료해주어야한다.

1) 실행 중인 주피터 서버 확인

jupyter-notebook list

2) 종료하려는 포트의 ps 확인

sudo netstat -nap | grep 8888

3)종료

sudo kill -9 7262(해당 ps)

 

 

 

 

 

3. 백그라운드에서 동작 중인 주피터 노트북 종료

The port 8888 is already in use, trying another port. 라는 에러메세지가 뜬다면 아래와 같이 서버를 종료해주어야한다. 1) 실행 중인 주피터 서버 확인 jupyter-notebook list 2) 종료하려는 포트의 ps 확인..

inistory.tistory.com