查看端口:
netstat -ano
查看具体端口号:
netstat -ano |findstr "端口号"
根据进程ID查看对应的进程名称:
tasklist |findstr "进程id号"
杀死对应的进程:
taskkill /f /t /im "进程id或者进程名称"
Windows服务器中查看进程命令端口操作
原文:https://www.cnblogs.com/zxh06820/p/12396212.html