Getting "error: closed" twice on "adb reverse"

Konrad Jamrozik picture Konrad Jamrozik · Jul 20, 2015 · Viewed 51.2k times · Source

I am trying to reverse-forward port through ADB, but it just returns cryptic error of error: closed. Normal forwarding works. Session snippet:

$ adb forward tcp:59778 tcp:59778
$ adb forward --list
015d2109ce0c1a0f tcp:59778 tcp:59778
$ adb forward --remove-all
$ adb forward --list
$ adb reverse --list
error: closed
error: closed
$ adb reverse tcp:59778 tcp:59778
error: closed
error: closed

I am connecting via USB to non-rooted Nexus 7 2012 Android 4.4.4 from Windows 7 Pro x64 on Boot Camp.

Answer

Alex P. picture Alex P. · Jul 20, 2015

adb reverse was introduced in Android 5.0