mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 15:18:01 +00:00
13 lines
342 B
Markdown
13 lines
342 B
Markdown
# Kill Everything Running On A Certain Port
|
|
|
|
You can quickly kill everything running on a certain port with the following
|
|
command.
|
|
|
|
```bash
|
|
sudo kill `sudo lsof -t -i:3000`
|
|
```
|
|
|
|
This gets a list of pids for all the processes and then kills them.
|
|
|
|
[source](http://stackoverflow.com/questions/9346211/how-to-kill-a-process-on-a-port-on-ubuntu)
|