7

Help needed.

PC-Windows 10, Samsung S4 without simcard(connected to same wifi with PC, connected to PC thru USB).

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)
Son Truong
  • 13,661
  • 5
  • 32
  • 58
June Wang
  • 499
  • 2
  • 6
  • 20

1 Answers1

9

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)
navylover
  • 12,383
  • 5
  • 28
  • 41
  • @MartinZeitler I'm in china, may be time delay. I will wait some time to answer question from now on ^_^, and would you cancel downnote? thank you very much – navylover Aug 20 '18 at 02:29
  • 2
    Is there a way to connect without connecting via usb first ? – ruben Jul 10 '19 at 11:43
  • 1
    If we have usb cable there's no need of this method, Very funny requirement : ( – Freddy Daniel Aug 01 '19 at 10:03
  • This works but only for some time and the solution is not persistent. After a while the same problem occurs. What could be the reason for that? – Rayearth Apr 07 '23 at 17:58