dos 查看端口占用进程并杀死程序
1. 查询端口占用进程 : netstat -aon|findstr "9091"
2. 根据进程查询对应的程序 : tasklist|findstr "17992"
3. 杀死程序 : taskkill /f /t /im java.exe
4. 再次查询端口占用进程
1. 查询端口占用进程 : netstat -aon|findstr "9091"
2. 根据进程查询对应的程序 : tasklist|findstr "17992"
3. 杀死程序 : taskkill /f /t /im java.exe
4. 再次查询端口占用进程