2 years ago

#73065

test-img

Trevor Sullivan

Enable Android wireless debugging via ADB with IPv6 address

  • I am using a Google Pixel 4 XL with Android 12
  • The wireless network interface has two IPv6 addresses bound to it
  • I have enabled Developer Options
  • In the Developer Options menu, I have enabled the Wireless Debugging setting
  • When I click into the Wireless Debugging child menu, only an IPv4 address appears

On my Windows 11 system, I try to use adb to connect to the device, but it seems the syntax is wrong, or adb just does not support IPv6 addresses at all.

PS > adb connect [2605:590c0:c4e0:901:ffff:ffff:ffff:ffff]:42575
cannot resolve host '2605:590c0:c4e0:901:ffff:ffff:ffff:ffff' and port 42575: No such host is known. (11001)
PS > adb connect 2605:590c0:c4e0:901:ffff:ffff:ffff:ffff:42575
no host in '2605:590c0:c4e0:901:ffff:ffff:ffff:ffff:42575'

Question: How do I enable Wireless Debugging for the IPv6 addresses that the device has been allocated, and connect using adb?

android

adb

0 Answers

Your Answer

Accepted video resources