๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

TIL/Linux

3. ๋ฐฑ๊ทธ๋ผ์šด๋“œ์—์„œ ๋™์ž‘ ์ค‘์ธ ์ฃผํ”ผํ„ฐ ๋…ธํŠธ๋ถ ์ข…๋ฃŒ

The port 8888 is already in use, trying another port. ๋ผ๋Š” ์—๋Ÿฌ๋ฉ”์„ธ์ง€๊ฐ€ ๋œฌ๋‹ค๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด ์„œ๋ฒ„๋ฅผ ์ข…๋ฃŒํ•ด์ฃผ์–ด์•ผํ•œ๋‹ค.

1) ์‹คํ–‰ ์ค‘์ธ ์ฃผํ”ผํ„ฐ ์„œ๋ฒ„ ํ™•์ธ

jupyter-notebook list

2) ์ข…๋ฃŒํ•˜๋ ค๋Š” ํฌํŠธ์˜ ps ํ™•์ธ

sudo netstat -nap | grep 8888

๋˜๋Š”

ps auxf | grep 8888

3)์ข…๋ฃŒ

sudo kill -9 7262(ํ•ด๋‹น ps)