---
# System prepended metadata

title: kill port
tags: [SpringBoot]

---

MacOS kill port :

```
kill -9 `lsof -t -i:8080`
```
## windows : 

windows kill port : 
<PORT > replace to 8080
step 1 : ==netstat -ano | findstr : <PORT>==
step 2 : ==taskkill /PID <PID> /F==

![](https://hackmd.io/_uploads/S1Hzfu_C3.jpg)

[winedows kill](https://stackoverflow.com/questions/34981745/taskkill-pid-not-working-in-gitbash)