通过 tcp 的 adb 连接现在不起作用 [英] adb connection over tcp not working now

查看:35
本文介绍了通过 tcp 的 adb 连接现在不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图通过 TCP/IP 使用 adb.我已按照以下步骤操作

I was trying to use adb over TCP/IP. I have followed these steps

adb tcpip 5555

adb connect 194.68.0.100:5555

我的设备已经使用了 2 天,现在我无法像以前那样连接到我的 IP 地址

I have used my device for 2 days and now I am unable to connect to my IP address like when I do

adb tcpip 5555

它没有任何反应.任何人都知道可能会发生什么情况.

it doesn't respond anything. Anyone knows what could be the scenario.

推荐答案

尝试做端口转发,

adb forward tcp:<PC port> tcp:<device port>.

喜欢:

adb forward tcp:5555 tcp:5555.

听起来像是捕获了 5555 端口,因此请使用其他端口.据我所知 7612 是空的

sounds like 5555 port is captured so use other one. As I know 7612 is empty

C:Usersm>adb forward tcp:7612 tcp:7612

C:Usersm>adb tcpip 7612
restarting in TCP mode port: 7612

C:Usersm>adb connect 192.168.1.12
connected to 192.168.1.12:7612

确保您连接到正确的 IP 地址.(您可以下载 Network Info 2 来查看您的 IP)

Be sure that you connect to the right IP address. (You can download Network Info 2 to check your IP)

这篇关于通过 tcp 的 adb 连接现在不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆