windows:
查看端口占用的进程号
netstat -aon|findstr "20800"
根据进程号获取进程名称
tasklist|findstr "12097"
结束任务
taskkill /f /t /im javaw.exe
windows:
查看端口占用的进程号
netstat -aon|findstr "20800"
根据进程号获取进程名称
tasklist|findstr "12097"
结束任务
taskkill /f /t /im javaw.exe
转载于:https://www.cnblogs.com/zero-66/p/6495896.html