Skip to content

Instantly share code, notes, and snippets.

@rodhfr
Created July 15, 2025 03:18
Show Gist options
  • Save rodhfr/5dcc8bc2600ce2b36183b608200de993 to your computer and use it in GitHub Desktop.
Save rodhfr/5dcc8bc2600ce2b36183b608200de993 to your computer and use it in GitHub Desktop.
TCP/IP (wireless)
Scrcpy uses adb to communicate with the device, and adb can connect to a device over TCP/IP. The device must be connected on the same network as the computer.
Automatic
An option --tcpip allows to configure the connection automatically. There are two variants.
If adb TCP/IP mode is disabled on the device (or if you don't know the IP address), connect the device over USB, then run:
scrcpy --tcpip # without arguments
https://github.com/Genymobile/scrcpy/blob/master/doc/connection.md#tcpip-wireless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment