3

I tried to connect to my phone through WiFi using Android ADB, but I can't connect it.

I tried this steps:

adb kill-server  
adb tcpip 5555  
adb connect 192.168.1.16:5555

And got this message:

cannot connect to 192.168.1.16:5555: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060)

karel
  • 13,706
a.kamal
  • 31

5 Answers5

1

Check the following:

  1. Your laptop and android device should be connected to the same Wifi network
  2. You have USB driver installed. Details here: https://docs.microsoft.com/en-us/xamarin/android/get-started/installation/set-up-device-for-development
irkForce
  • 111
1

Enable Wireless Debugging in Developer Options on your Android device. Grant required permissions.

Run the following commands:

adb tcpip 5555
adb connect <IP_Address>

Troubleshooting:

If you're facing issues with IP addresses, try the following:
Connect one device to the internet and enable its hotspot. Connect your other device to this hotspot network.

This setup resolves IP-related connectivity problems.

Toto
  • 19,304
0

In my case , i was connected to vpn with a vnp client application like Cisco AnyConnect, i have just disconnected that and the problem has been fixed.

0

Please make sure that your phone and other device is on same network and you are not connected to any VPN on device through which you are making the connection request.

0

I faced the same problem and what I did at first was just turning off WiFi and turning it back on. It worked for me.