Page 1 of 1

Unable to connect to network AVD devices

Posted: Sun Jan 07, 2018 5:32 am
by phibao37
I have following environment

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

Computer 2 - Windows 7 - sharing android virtual machine
- IP: 192.168.1.3
- 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=192.168.1.3 connectport=5555 connectaddress=127.0.0.1
- On computer 1:
Try with ADB

Code: Select all

adb connect 192.168.1.3:5585
Output: connected to 192.168.1.3:5585
Try with Ranorex
Image
Image
Image

Can this approach possible?

Re: Unable to connect to network AVD devices

Posted: Wed Jan 10, 2018 5:01 pm
by asdf
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.