- 打開所有端口進程列表
netstat -ano
- 找到可以的端口鏈接
netstat -ano | findstr 13232
- 通過pid找到進程
tasklist | findstr 13232
- 通過進程找到文件路徑
wmic process where name="firefox.exe" get processid,executablepath,name
wmic process get name,executablepath,processid|findstr 2860