---
# System prepended metadata

title: Untitled

---

指令

Windows PowerShell

Kill Process by Specifying localhost Port

```bash
Get-Process -Id (Get-NetTCPConnection -LocalPort "8000").OwningProcess | Stop-Process
```