Last updated 5 years ago
Was this helpful?
在cmd中輸入想檢查的port(ex.80)
C:\Users\Administrator> netstat -nao |find "0.0.0.0:80"
如果沒有被占用則不會回傳東西
如果port有被工作占用,則會回傳工作代號,也就是Listening對象,再根據代號搜尋(ex.87)
C:\Users\Administrator> tasklist /fi "pid eq 4"
就可得知哪個工作再用惹
參考來源: