Android adb:无法建立连接,因为目标计算机主动拒绝了它 [英] Android adb: No connection could be made because the target machine actively refused it
本文介绍了Android adb:无法建立连接,因为目标计算机主动拒绝了它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
需要帮助。
PC Windows 10,三星S4(不带Simcard)(通过PC连接到同一个wifi,通过USB连接到PC)。
PC-Windows 10, Samsung S4 without simcard(connected to same wifi with PC, connected to PC thru USB).
到目前为止。我已经已经尝试过了:取消选中/选中USB调试,拔出/插入USB,打开/关闭Wifi,只是无法获得连接...什么可能是错的?
So far. I've already tried uncheck/check USBDebugging, unplug/plugin USB, on/off Wifi, just couldn't get connection...What can possibly be wrong?
C:\Users\junew>adb devices
List of devices attached
d71ba392 device
C:\Users\junew>adb connect 192.168.0.27
unable to connect to 192.168.0.27:5555: cannot connect to 192.168.0.27:5555: No connection could be made because the target machine actively refused it. (10061)(nothing pops up on my screen)
C:\Users\junew>adb kill-server
C:\Users\junew>adb usb
* daemon not running; starting now at tcp:5037
* daemon started successfully
C:\Users\junew>adb connect 192.168.0.27
unable to connect to 192.168.0.27:5555: cannot connect to 192.168.0.27:5555: No connection could be made because the target machine actively refused it. (10061)(Window pops up on Samsung screen, but still unable to connect)
推荐答案
1。使用USB电缆连接PC和设备。
2.输入以下命令:
1.Connect PC and device with USB cable. 2.Input below commands:
adb kill-server
adb tcpip 5555
adb connect YourDeviceIpAddress(e.g 192.168.0.27, you could ensure it via viewing device configuration)
这篇关于Android adb:无法建立连接,因为目标计算机主动拒绝了它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文