[Django] Error: That port is already in use.

Jimin_Noteยท2022๋…„ 6์›” 14์ผ
0

๐ŸŒฑDjango

๋ชฉ๋ก ๋ณด๊ธฐ
12/13
post-thumbnail

๐ŸšซError : That port is alrady in use.๐Ÿšซ

๐Ÿ“ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

port 8000๊ณผ ๊ด€๋ จ๋œ ๋ชจ๋“  ํ”„๋กœ์„ธ์Šค๋ฅผ ์ฃฝ์ด๊ณ  ๋‹ค์‹œ ์‹คํ–‰์‹œํ‚ค๊ธฐ

#8000๋ฒˆ ํฌํŠธ ๊ฐ•์ œ๋กœ ์ฃฝ์ด๊ธฐ
$ sudo lsof -t -i tcp:8000 | xargs kill -9
#๋‹ค์‹œ ์‚ด๋ฆฌ๊ธฐ
$ python manage.py runserver

profile
Hello. I'm jimin:)

0๊ฐœ์˜ ๋Œ“๊ธ€