Windows检查80端口是否被占用netstat-ano|findstr :80Windows根据PID查找进程名称tasklist /FIPID eq 1234Windows根据PID杀死进程taskkill /pid1234-fLinux查看端口监听状态ss-tuln|grep[端口]