Remove a reverse socket connections from an emulator or device

adb reverse

  • Android Debug Bridge Reverse: reverse socket connections from an Android emulator instance or connected Android devices.
    More information: <https://developer.android.com/studio/command-line/adb>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

adb reverse --remove tcp:{{remote_port}}

click the source code to copy install adb reverse on any operating system with command-not-found.com