how-to-kill-process-from-port

#tip

1. ํŠน์ • ํฌํŠธ ๋Œ๊ณ  ์žˆ๋Š” ์ง€ ํ™•์ธ

lsof -i tcp:8080
  • 8080 ํฌํŠธ์— ๋Œ๊ณ  ์žˆ๋Š” ํ”„๋กœ์„ธ์Šค ํ™•์ธ

2. ํŠน์ • ํฌํŠธ์— ๋Œ๊ณ  ์žˆ๋Š” ํ”„๋กœ์„ธ์Šค ์ข…๋ฃŒ

kill $(lsof -t -i:8080)
  • 8080 ํฌํŠธ์— ๋Œ๊ณ  ์žˆ๋Š” ํ”„๋กœ์„ธ์Šค ์ข…๋ฃŒ

Last updated