ADB over Network Doesn't Work in Debian LXC

distaste3750

New Member
Apr 20, 2026
1
0
1
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:
  • 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 -y
  • adb 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 devices list blank
    • vm connects without issue
fuirther information:
  • 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.
is ther something in default lxc config or how lxc is setup that would prevent this connection? i run multiple of other services on lxcs and none other have any network/connectivity problem.
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: