how can I use adb command with ipv6 address? I am using bash or zsh shell, and I am sure that remote adb server is up
cmd:
adb -H ffff:1111:1111:1:1:111:111:111 -P 27231 devices
result:
* cannot start server on remote host
adb: failed to check server version: cannot connect to daemon at tcp:xxxxxxxxx
how can I use adb command with ipv6 address? I am using bash or zsh shell, and I am sure that remote adb server is up
cmd:
adb -H ffff:1111:1111:1:1:111:111:111 -P 27231 devices
result:
* cannot start server on remote host
adb: failed to check server version: cannot connect to daemon at tcp:xxxxxxxxx
Share
Improve this question
edited 19 mins ago
Robert
42.6k18 gold badges109 silver badges170 bronze badges
Recognized by Mobile Development Collective
asked yesterday
Lu LeLu Le
11
1 Answer
Reset to default 1To use adb with an IPv6 address, you need to properly format the address. Since expects an IPv6 address to be enclosed in square brackets ([]):
adb -H [ffff:1111:1111:1:1:111:111:111] -P 27231 devices
- IPv6 address text notation with prefix: inside or outside square brackets?