假如我們需要确定誰占用了我們的8008端口,在windows指令行視窗下執行:
C:\Documents and Settings>netstat -aon|findstr 80
![](https://img.laitimes.com/img/__Qf2AjLwojIjJCLyojI0JCLicmbw5SOiNjYkZWN1UTNxIWZxUWOhRjZ0cTM2EDN2gDN4UTM10SOzIzM2EDNw8CX3AzMxAjMvw1N2gjNyIzLcd2bsJ2Lc12bj5ycn9Gbi52YuAzcldWYtl2Lc9CX6MHc0RHaiojIsJye.png)
看到了嗎,端口被程序号為5836的程序占用,繼續執行下面指令:
C:\Documents and Settings>tasklist|findstr "5836"
Skype.exe 占用着端口。
隻要tskill 程序号,就可以結束程序 如: tskill 5836 .
===================== This is my sign! =======================================================
The moment you want to give up, thing about why did insist to come here !