打开某软件时,突然遇上了这样的问题:
端口1080被占用
那么是什么软件占用了这个端口呢?
1. 首先打开cmd
(命令提示符)
2. 切换到以下文件夹
cd c:\\WINDOWS\system32\
3. 再输入 netstat -aon|findstr "1080"
-ano相比-an可以看到详细的PID信息
c:\Windows\System32>netstat -aon|findstr "1080"
在我的电脑中是9744占用了端口
那么9744对应着哪个程序呢
4.输入tasklist|findstr "9744"
c:\Windows\System32>tasklist|findstr "9744"
ECAgent.exe占用了该端口
5. “资源管理器”中寻找该程序并停用