How to Run a script or get adb devices from machine 1 to mobile device which is connected machine 2? I am attempting to run a Script from Machine 1. [Script would be calabash or Appium]. In machine 1 i didnt connected any device and In machine 2 I have connected 2 Android devices. 


  Machine 1 and Machine 2 are connected via LAN. so I can able to ping machine 2 from machine 1.


Now My question is 
Is there any posibility to Access devices via adb which is conneced in Machine 2. So that i can able to run my Script ?

I am using two windows machine.
Yes, you can do that using adb connect REMOTE_MACHINE_IP:XXXX .

where XXXX is the port of the remote machine.

Sources: 

http://www.41post.com/5003/programming/android-adb-remote-emulator-access

https://stackoverflow.com/questions/13278429/how-to-set-up-adb-for-remote-machine-development-and-local-device-deployment