android - ADB connection not working because of a double port -



android - ADB connection not working because of a double port -

i'm trying connect vmware invitee android emulator runs on host. emulator connected port 5554. tried both nat , bridged network. , anytime:

root@dev-virtual-machine:~# adb connect 10.100.102.8:5554 unable connect 10.100.102.8:5554:5554

tried forwards port , changing tcpip:

root@dev-virtual-machine:~# adb forwards tcp:5555 tcp:5554 root@dev-virtual-machine:~# adb tcpip 5554 restarting in tcp mode port: 5554 root@dev-virtual-machine:~# adb connect 10.100.102.8 unable connect 10.100.102.8:5555

but still same error double port problem.

from host when run this:

adb connect localhost:5554

it work.

ok, after tried lot of options figured out problem android emulator listens on traffic comes 127.0.0.1(localhost) there couple of solutions: 1. think there alternative in emulator config allows outside traffic. 2. ssh forwarding. 3. set kind of proxy outside host inside

android port virtual-machine adb vmware

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -