修正:无法连接亚行通过WiFi [英] FIXED: Can't connect to adb over wifi

查看:224
本文介绍了修正:无法连接亚行通过WiFi的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

事实证明的 adbd不安全的是,其实这个问题。当我禁用它(通过运行应用程序,并取消选中的启用不安全adbd 的,我能够连接就好了无线网络连接。

It turns out that adbd Insecure was, in fact, the problem. When I disabled it (by running the app and unchecking Enable insecure adbd, I was able to connect just fine over wifi.

另外,对于那些有兴趣谁,这一次是工作那么的netstat -n确实表现出了连接,即:

Also, for those who are interested, once this was working then netstat -n did show the connection, i.e.:

$ netstat -n 
Proto Recv-Q Send-Q Local Address          Foreign Address        State
tcp       0      0 0.0.0.0:5555               0.0.0.0:*              LISTEN
tcp       0      0 **192.168.0.169:5555**     192.168.0.50:51178     ESTABLISHED
tcp6      0      0 ::ffff:127.0.0.1:47514 :::*                       LISTEN

巴里

我无法得到亚洲开发银行连接通过无线(它工作正常通过USB)。

I am unable to get adb to connect over Wifi (it works fine over USB).

我已经通过这里和其他地方的不同岗位阅读并还没有找到一个适合我的答案。

I've read through the various posts here and elsewhere and haven't found an answer that works for me.

我试图从我的笔记本电脑连接到两个不同的设备(三星S4,的Nexus 7 2013(WIFI)未与特定的设备,如IP地址连接在这两种情况下,拥有相同的错误消息,尽管

I've tried connecting from my laptop to two different devices (Samsung S4, Nexus 7 2013 (wifi) It fails to connect in both cases, with the same error message, albeit with the IP address of the specific device, e.g.:

无法连接到192.168.0.125:5555

unable to connect to 192.168.0.125:5555

这两种设备使用过towelroot,SuperSU和adbd不安全扎根。我能够从我的笔记本电脑ping通192.168.0.125,我已经关掉我的笔记本电脑的病毒防护和防火墙。

Both devices have been rooted using towelroot, SuperSU and "adbd Insecure". I am able to ping 192.168.0.125 from my laptop and I've turned off my laptop's virus protection and firewall.

我遵循的标准步骤:

  • ADB杀死服务器
  • 在亚洲开发银行的USB
  • ADB设备
  • 在亚洲开发银行TCPIP 5555
  • 在亚洲开发银行连接192.168.0.125

我读的netstat -n应该表现出一个新的socket present和侦听端口5555(<一href="http://stackoverflow.com/questions/6313167/cant-connect-to-android-via-adb-over-wifi-do-i-need-root-access">Can't连接通过ADB将Android通过WiFi - 我是否需要root访问),但在我的情况是不会发生 - 这只能说明在5037的默认端口本地主机连接

I read that "netstat -n" should show a new socket present and listening on port 5555 (Can't connect to Android via ADB over wifi - Do I need root access?) but in my case that doesn't happen -- it only shows a localhost connection at the default port of 5037.

  root@deb:/ # netstat -n
  Proto Recv-Q Send-Q Local Address          Foreign Address        State
  tcp       0      0 127.0.0.1:5037         0.0.0.0:*              LISTEN

输出getprop | grep的亚行是:

Output of "getprop | grep adb" is:

  $ adb shell
  root@deb:/ # getprop | grep adb
  getprop | grep adb
  [init.svc.adbd]: [running]
  [persist.radio.adb_log_on]: [0]
  [persist.sys.usb.config]: [mtp,adb]
  [ro.adb.secure]: [1]
  [service.adb.tcp.port]: [5555]
  [sys.usb.config]: [mtp,adb]
  [sys.usb.state]: [mtp,adb]
  root@deb:/ #

看来,系统接收并处理的亚行是tcp 5555的命令,但由于某些原因不能使用的信息。

It appears that the system received and processed adb's "tcp 5555" command, but for some reason isn't able to use the information.

由于这种情况正在发生两个设备我猜对的问题是:

Since this is happening on both devices I'm guessing that the problem is:

  1. 在我的笔记本电脑或
  2. 有什么常见的两种设备(例如,adbd不安全安装)或者
  3. 飞行员操作失误。

问题:

  1. 在不应该的netstat -n显示套接字监听192.168.0.125:5555?
  2. 是它可能与使用adbd不安全的问题???

任何/所有帮助AP preciated。

Any/all help appreciated.

谢谢, 巴里

推荐答案

这个答案已经由巴里·霍尔罗伊德给出:

This answer has been given by Barry Holroyd:

事实证明的 adbd不安全的是,其实这个问题。当我禁用它(通过运行应用程序,并取消选中的启用不安全adbd 的,我能够连接就好了无线网络连接。

It turns out that adbd Insecure was, in fact, the problem. When I disabled it (by running the app and unchecking Enable insecure adbd, I was able to connect just fine over wifi.

另外,对于那些有兴趣谁,这一次是工作那么的netstat -n确实表现出了连接,即:

Also, for those who are interested, once this was working then netstat -n did show the connection, i.e.:

$ netstat -n 
Proto Recv-Q Send-Q Local Address          Foreign Address        State
tcp       0      0 0.0.0.0:5555               0.0.0.0:*              LISTEN
tcp       0      0 **192.168.0.169:5555**     192.168.0.50:51178     ESTABLISHED
tcp6      0      0 ::ffff:127.0.0.1:47514 :::*                       LISTEN

巴里

这篇关于修正:无法连接亚行通过WiFi的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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