gistfile1.txt
· 132 B · Text
原始檔案
## To find what's running on Port#
```
# macos
sudo lsof -i :<PortNumber>
# should return a PID as first number
kill -9 <PID>
```
1 | |
2 | ## To find what's running on Port# |
3 | |
4 | ``` |
5 | # macos |
6 | sudo lsof -i :<PortNumber> |
7 | # should return a PID as first number |
8 | kill -9 <PID> |
9 | ``` |
10 |