假如我们需要确定谁占用了我们的8008端口,在windows命令行窗口下执行:
C:Documents and Settings>netstat -aon|findstr 80
看到了吗,端口被进程号为5836的进程占用,继续执行下面命令:
C:Documents and Settings>tasklist|findstr "5836"
Skype.exe 占用着端口。
只要tskill 进程号,就可以结束进程 如: tskill 5836 .
假如我们需要确定谁占用了我们的8008端口,在windows命令行窗口下执行:
C:Documents and Settings>netstat -aon|findstr 80
看到了吗,端口被进程号为5836的进程占用,继续执行下面命令:
C:Documents and Settings>tasklist|findstr "5836"
Skype.exe 占用着端口。
只要tskill 进程号,就可以结束进程 如: tskill 5836 .