打开cmd:
1、找到冲突的端口,例如:8080
netstat -ano | findstr 8080
2、杀死进程
taskkill -pid 1468 -f
例子(杀死8082端口):
打开cmd:
1、找到冲突的端口,例如:8080
netstat -ano | findstr 8080
2、杀死进程
taskkill -pid 1468 -f
例子(杀死8082端口):
转载于:https://www.cnblogs.com/doublet/p/10255053.html