查看被占用端口对应的PID,输入命令:netstat -aon|findstr "对应的pid"
例如:查看端口号8085被占用,输入netstat -ano|findstr 8080
netstat -ano|findstr 8080
终止进程输入命令:taskkill /f /pid 12780
windows下查看端口号被占用命令
阅读 25
2024-01-24
查看被占用端口对应的PID,输入命令:netstat -aon|findstr "对应的pid"
例如:查看端口号8085被占用,输入netstat -ano|findstr 8080
netstat -ano|findstr 8080
终止进程输入命令:taskkill /f /pid 12780
相关推荐
精彩评论(0)