This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
1 / 18
Oct 2014

1. Connect device to computer via USB.
2. Make sure device and computer are connected to the same Wi-Fi.
3. Run this command to restart adb and make it work over tcpip:

adb tcpip 5555

4. Disconnect device
5. Get IP address of your phone ("Settings" -> Wifi -> “Your connected network” -> Your IP address")
6. Run this command to connect adb to your device over Wi-Fi using IP address:

adb connect <your phones ip address>

7. Verify, that adb works remotely:

adb devices

8. Run tests over Wi-Fi!

Source: http://qaautomationworld.blogspot.com/2014/06/appium-executing-test-throgh-wi-fi-on-real-devies.html1.1k

  • created

    Oct '14
  • last reply

    Aug '18
  • 17

    replies

  • 14.9k

    views

  • 15

    users

  • 16

    likes

  • 2

    links

this is sweet. one small typo though. "adb device" should be "adb devices"

12 days later

I haven't seen anything saying it can be done on iOS, but I'm not certain :wink:

6 months later
1 year later

I get error when i follow above steps: unable to connect to 172.26.0.127:5555: cannot connect to 172.26.0.127:5555: No
connection could be made because the target machine actively refused it. (10061)
Any idea how can i solve this?

I am getting the same error as well.

unable to connect to 192.168.5.95:5555: cannot connect to 192.168.5.95:5555: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060).

NEED HELP here!

2 months later
2 months later

may be your system firewall is blocking the incoming connection from device , please check once the Inbound and outbound rule for the opened port

3 months later

Hi
I have tried to connect my android device over wifi
Able to connect using the adb commands but when i run the test script in eclipse the appium server automatically kills my adb server saying adb server out of date
After that the appium server is not able to detect my device.
Can any one help

1 year later