LinuxCommandLibrary

adb-disconnect

TLDR

Disconnect from a specific device

$ adb disconnect [192.168.1.100]:5555
copy
Disconnect from all wireless devices
$ adb disconnect
copy

SYNOPSIS

adb disconnect [host[:port]]

DESCRIPTION

adb disconnect terminates wireless adb connections. When called without arguments, it disconnects all connected TCP/IP devices. With a specific host and port, it disconnects only that device.
This command only affects wireless connections; USB-connected devices remain connected until physically unplugged.

PARAMETERS

host

IP address or hostname of the device to disconnect
port
TCP port number (default: 5555)

CAVEATS

Does not affect USB connections. The device remains in TCP/IP mode after disconnection; you can reconnect using adb connect without reconfiguration.

HISTORY

adb disconnect has been available since wireless debugging was introduced in the Android SDK. It provides a clean way to terminate network connections without killing the entire adb server.

SEE ALSO

Copied to clipboard