im running proxmox ve 9.1.7 with debian 13 guest. im having issue connecting to android device using adb (android debug bridge) over network, but only in lxc, vms work.
repro steps:
if there is more log i can provide i will.
android device log
repro steps:
- install new debian 13 unprivileged lxc and new debian 13 vm
- default settings
- i use community scripts but also try manual lxc create
- i also try privileged debian 13 lxc
- set network to dhcp if static
- reboot
apt install adb -yadb pair [android ip: pair port] [paircode]- both lxc and vm report success
adb connect [android ip:adb port]- lxc result is
failed to connect to [android ip:adb port],adb deviceslist blank - vm connects without issue
- lxc result is
- the lxc and vm are on same lan as the android device.
- the lxc run
nc -vz [android ip:adb port], which report `open`. - the connection attempt is in logs on the android device, there's nothing useful but i have included it at the bottom.
- neither of the debians have a firewall enabled.
if there is more log i can provide i will.
android device log
Code:
562 I adbd : New TLS connection [fd=28]
16419 I adbd : host-28: read thread spawning
16420 I adbd : host-28: write thread spawning
562 I adbd : host-28: already offline
16419 I adbd : host-28: read failed: Success
16419 I adbd : host-28: connection terminated: read failed
562 I adbd : host-28: offline
562 I adbd : destroying transport host-28
562 I adbd : BlockingConnectionAdapter(host-28): stopping
562 I adbd : BlockingConnectionAdapter(host-28): stopped
562 I adbd : BlockingConnectionAdapter(host-28): destructing
562 I adbd : BlockingConnectionAdapter(host-28): already stopped
Last edited: