Showing posts with label kill process. Show all posts
Showing posts with label kill process. Show all posts

5/18/2024

Kill process which use specific port



1. find pid

> lsof -i :8188

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME

Code\x20H 76433 ccxxxxx 46u IPv4 0xc8a9187a02c84768 0t0 TCP localhost:8188 (LISTEN)




2. kill process

> kill -9 76433



That's it
Thank you!