13

Win11 下 WSA 工具箱无法连接到 ADB(ADB 服务器已启动,但 58526 端口未打开),有无...

 11 months ago
source link: https://www.v2ex.com/t/949681
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  问与答

Win11 下 WSA 工具箱无法连接到 ADB(ADB 服务器已启动,但 58526 端口未打开),有无不重启的技术角度解决办法?

  Apol1oBelvedere · 48 分钟前 · 28 次点击

Win11 下 WSA 工具箱无法连接到 ADB ( ADB 服务器已启动,但 58526 端口未打开),有无不重启的技术角度解决办法?
系统:Windows 11 22H2
WSA 工具箱版本:v2.0.4+16ce3166
WSA 版本:2305.40000.5.0
ADB 版本:1.0.41

检查 WSA 是否已安装:已安装
检查 WSA 是否在运行:正在运行
检查 ADB 服务器是否已启动:ADB 服务器已经启动
检查 ADB 是否连接至 WSA:ADB*没有*连接到 WSA

尝试直接下载 adb 进行连接,报错如下:
.\adb.exe connect 127.0.0.1:58526
cannot connect to 127.0.0.1:58526: 由于目标计算机积极拒绝,无法连接。 (10061)

按照 B 站“ [教学] 解决 ADB 无法连接 WSA 的一个小办法”的办法“开发人员模式是开着的,但可能实际上没开,需要手动重新开一下”,不起作用。

目前推测是操作系统的 Hyper-V 占用了 ADB 的 58526 端口,导致无法连接,有无办法修改 WSA 里面的默认 58526 端口?
或者有其他解决办法吗?(已经检索世界互联网未找到可用办法)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK