linlf03

1.输入adb devices命令

C:\Users\Nick>adb devices
List of devices attached
adb server version (31) doesn\'t match this client (39); killing...
error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 (10048)

可以看出5037端口被占用了  

 

2. 查看端口被哪个暂用

C:\Users\Nick>netstat -ano | findstr "5037"
  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       17276
  TCP    127.0.0.1:5037         127.0.0.1:61023        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:61028        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:61033        TIME_WAIT       0
  TCP    127.0.0.1:5037         127.0.0.1:61038        TIME_WAIT       0

  

在任务管理器中查看17276的端口被那个进程暂用。结束进程。

 

分类:

技术点:

相关文章:

  • 2022-01-18
  • 2021-11-20
  • 2022-02-25
  • 2021-12-27
  • 2022-03-13
  • 2022-02-23
  • 2022-01-09
  • 2022-01-12
猜你喜欢
  • 2021-12-06
  • 2022-02-07
  • 2021-12-03
  • 2021-11-30
  • 2021-12-16
  • 2022-02-07
  • 2021-06-16
相关资源
相似解决方案