Adb appear to solve the network connection "because the target computer actively refused, unable to connect" error

In commissioning a full-Chi A83T Android Control Board (has root), after the start, Android is normal, set up Ethernet
Static IP address: 192.168.1.181, and connect the network cable, while developing the IP address of the computer WIN7 system
Is 129.168.1.x, the same network segment. win cmd command window system, is connected to the network
Test, the test command input ping 192.168.1.60, normal, indicates that the network has connected.
Enter the command: adb connect 192.168.1.181, adb debugging network connection,
Report "because the target computer actively refused, unable to connect" error.
 Solution:
  Andrews connecting plate and developing computer via USB cable.
  2 Set the following Android, the Android developer options >> << USB debugging is enabled item,
    >> is << USB MTP configuration option.
  3 in the development of computer systems WIN, by opening cmd command window interface, input adb devices,
     If you can see, the connected equipment list, showing good usb connected Android system.
  4 win system command line interface successively enter the following two commands:
     adb root // permission to mention the right.
     adb shell // shell into the Android system.
  After 5 into Andrew system, enter the command:
     setprop service.adb.tcp.port 5555 // set adb service port 5555, open network adb debugging features
        Additional information: setprop service.adb.tcp.port -1 // Enables the adb usb debugging. 
  6 Enter the exit command to exit the android shell.
  7 Enter the command:
     adb tcpip 5555 // let the device listens to TCP / IP connection port in 5555.
  Unplug the cable case 8 usb.
  9 using adb adb connect 192.168.1.181 for network connection can be connected properly.
 
to sum up:
    The reason is that Android can not connect adb not open network debugging function, connected via usb way to Android and settings.
   
 
 

Guess you like

Origin www.cnblogs.com/jameszeng/p/11322719.html