Programing/Debug NOTE

특정 port를 사용하고 있는 앱 종료

Ezzi 2021. 7. 20. 13:13
반응형

1. 특정 port를 사용하고 있는 앱 찾기

netstat -ano | findstr [port 번호]
ex) netstat -ano | findstr 7788

 

 

2. 해당 Port를 사용하고 있는 앱을 pid 번호로 kill 하기

 

taskkill /f /pid [pid number]
ex) taskkill /f /pid 17463

 

 

반응형