This is a query regarding the usage of adb on android.
Is there a way to forward the remote port i.e. port on the android device/emulator to the local machine to whi
Recently google updated ADB service. And added reverse command that should do the job.
From reverse documentation:
This implements the
adb reversefeature, i.e. the ability to reverse socket connections from a device to the host.is one of the forwarding commands that are described above, as in:
list-forwardforward:; forward:norebind:; killforward-allkillforward:Note that in this case,
corresponds to the socket on the device andcorresponds to the socket on the host.The output of
reverse:list-forwardis the same as host:list-forward except thatwill be justhost.