1、查看端口号对应的进程号
netstat ano | findstr 端口号
如 netstat ano | findstr 5672
2、根据进程号进一步查看所运行的程序
tasklist | findstr 进程号
如 tasklist | findstr 13712
3、杀死进程
方式一:
根据进程号杀
taskkill /f /pid 进程号
如 taskkill /f /pid 13712
方式二:
根据进程名杀
taskkill /f /t /im 进程名
如 taskkill /f /t /im erl.exe