Tú Linh Nguyễn
New member
How do you kill a process listening on a specific port?
Answer
Find (and kill) all processes listening on a port
Answer
Find (and kill) all processes listening on a port
- lsof -n | grep LISTEN. Bash. A SIGNIFICANTLY FASTER way. …
- lsof -i tcp:[PORT] Bash. To kill all processes listening on a specific port use:
- lsof -ti tcp:5900 | xargs kill. Bash.