CMD 和 Linux 查端口杀端口

    xiaoxiao2022-07-14  109

    CMD 查端口 netstat -ano|findstr {port} 杀进程 taskkill /pid {pid} -f

         2. Linux

    查端口 netstat -tunlp |grep {port} lsof -i:{} 杀进程 kill -9 {PID}

     

    最新回复(0)