通过命令提示符或 PowerShell

# 查看所有监听端口及进
netstat -ano | findstr "LISTENING"
1
2
# 筛选 WSL 进程
tasklist | findstr "wsl"
1
2
上次更新时间: 3/13/2025, 1:13:37 PM