确定哪个进程占用了端口号
1.在windows命令窗口下执行:
C:\>netstat -aon|findstr "8080"
TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING 3032
说明端口被进程号为3032的进程占用
继续执行下面的命令
C:\>tasklist|findstr "3032"
tor.exe 3032 Console 0 16,064 K
很清楚吧,tor占用了你的端口
确定哪个进程占用了端口号
1.在windows命令窗口下执行:
C:\>netstat -aon|findstr "8080"
TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING 3032
说明端口被进程号为3032的进程占用
继续执行下面的命令
C:\>tasklist|findstr "3032"
tor.exe 3032 Console 0 16,064 K
很清楚吧,tor占用了你的端口