개발을 하다 보면.. 특정 서비스를 중지하고 싶을 때가 있다. 그럴때 유용하다 !
netstat -ano 포트 확인 netstat -ano | findstr {특정포트 넘버} 특정 포트 확인 taskkill /f /pid {PID 넘버} pid를 key로 하여 중지
netstat -ano
netstat -ano | findstr {특정포트 넘버}
taskkill /f /pid {PID 넘버}
netstat -nap | grep 8080 lsof -i TCP:80
netstat -nap | grep 8080
lsof -i TCP:80