最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

debugging - ADB bridge error within vm and host machine - Stack Overflow

programmeradmin4浏览0评论

So , i have deployed android studio emulator (nexus 5) on host machine (windows 11) and kali vm on vmware . I have been trying to connect adb bridge between them , i have adb access on my host console , and even binded the port to 5555, and my vm is on "NAT", it is able to ping my host machine , but i couldn't establish an connection between them , even tried turning my firewall off on both , the ports are all listening properly

Please tell any suggestion

I have also tried to expose the port 5555 from adb which was locally exposed ,

Found through netstat ,

Tcp 127.0.0.1:5555 0.0.0.0

Used ,

adb -a -P 5555 server nodaemon

But it prompts that another process is running which the emulator itself

So , i have deployed android studio emulator (nexus 5) on host machine (windows 11) and kali vm on vmware . I have been trying to connect adb bridge between them , i have adb access on my host console , and even binded the port to 5555, and my vm is on "NAT", it is able to ping my host machine , but i couldn't establish an connection between them , even tried turning my firewall off on both , the ports are all listening properly

Please tell any suggestion

I have also tried to expose the port 5555 from adb which was locally exposed ,

Found through netstat ,

Tcp 127.0.0.1:5555 0.0.0.0

Used ,

adb -a -P 5555 server nodaemon

But it prompts that another process is running which the emulator itself

Share Improve this question asked Mar 17 at 16:34 Tarun ATarun A 1
Add a comment  | 

1 Answer 1

Reset to default 0

Likely not listening on the correct interface, a quick fix could be a port-forward on your host machine, for example try the below:

netsh interface portproxy add v4tov4 listenaddress=<host IP that kali can ping> listenport=5556 connectaddress=127.0.0.1 connectport=5555

Try connecting to it with that and run wireshark on the same interface to observe the traffic.

发布评论

评论列表(0)

  1. 暂无评论