Unable to connect to network AVD devices

Mobile Testing, Android App Testing.
Posts: 5
Joined: Tue Mar 07, 2017 9:35 am

Unable to connect to network AVD devices

Post by phibao37 » Sun Jan 07, 2018 5:32 am

I have following environment

Computer 1 - Windows 7 - dev machine
- IP:
- Install Ranorex (6.1.1)

Computer 2 - Windows 7 - sharing android virtual machine
- IP:
- Install AVD1, AVD2, ... (installed Ranorex service)

(May be: computer 3, 4 - other dev machines)

I want to connect Ranorex to AVD devices through network.
Follow this tutorial: http://www.41post.com/5003/programming/ ... tor-access

- On computer 2, using port forwarding:

Code: Select all

netsh interface portproxy add v4tov4 listenport=5585 listenaddress= connectport=5555 connectaddress=
- On computer 1:
Try with ADB

Code: Select all

adb connect
Output: connected to
Try with Ranorex

Can this approach possible?

Posts: 174
Joined: Mon Mar 21, 2016 3:16 pm

Re: Unable to connect to network AVD devices

Post by asdf » Wed Jan 10, 2018 5:01 pm

Have you already tried it without port forwarding? I'm automating AVD devices as well and for me the approach you mentioned worked. However, as I said, I'm using the default port 5555.