-1

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

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.