端口占用解决

端口占用解决

自动提取占用端口 3300 的进程 PID,并强制结束它

Windows使用cmd直接执行代码

for /f "tokens=5" %p in ('netstat -ano ^| findstr ":3300"') do taskkill /F /PID %p

Linxu使用下面的命令

lsof -t -i:3300 | xargs -r kill -9

Docker 镜像源 2025-12-31
VPS 脚本 & 常用命令速查表(自用整理版) 2025-12-31

评论区