adb forward remote port to local machine

Recently google updated ADB service. And added reverse command that should do the job.

From reverse documentation:

This implements the adb reverse feature, i.e. the ability to reverse
socket connections from a device to the host. <forward-command> is one
of the forwarding commands that are described above, as in:

  1. list-forward
  2. forward:<local>;<remote>
  3. forward:norebind:<local>;<remote>
  4. killforward-all
  5. killforward:<local>

Note that in this case, <local> corresponds to the socket on the device
and <remote> corresponds to the socket on the host.

The output of reverse:list-forward is the same as host:list-forward
except that <serial> will be just host.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)