1 打开cmd命令窗口,输入命令,根据端口号查找对应的进程号
1
netstat -ano | findstr 8080//列出进程极其占用的端口,且包含8080
netstat -ano | findstr 8080//列出进程极其占用的端口,且包含
8080
2 强制关闭某个进程 taskkill -pid pid -f 或者 taskkill /f /t/ /im pid
2 强制关闭某个进程 taskkill -pid
pid -f
或者 taskkill /f /t/ /im pid
如下图: