Wirelessly Mirror Your Android Screen with Scrcpy (and Flect!)
Learn how to seamlessly mirror your Android device to your PC using Scrcpy over wireless debugging, plus an introduction to a custom tool to make the connection process effortless.
POSTS
Learn how to seamlessly mirror your Android device to your PC using Scrcpy over wireless debugging, plus an introduction to a custom tool to make the connection process effortless.
We have all been there. You want to show something from your phone on your computer screen, record a quick mobile app demo, or just reply to messages without picking up your device.
The usual solutions involve messy USB cables that tether you to your desk or third-party casting apps that lag, lower the video quality, and bombard you with ads. Trying to get a clean, fast screen mirror shouldn't be a frustrating experience.
There is a better way. Meet Scrcpy, a lightweight, open-source tool that provides low-latency, high-performance display and control of Android devices natively from your PC. Best of all? You can run it entirely wirelessly.
By combining Scrcpy with Android's built-in Wireless Debugging feature, you get a powerful setup:
To get this working, you need your phone and your PC connected to the same Wi-Fi network.
First, grab the official tool.
.zip release for Windows, or install it using your preferred package manager via their installation guide..zip file, extract it to a dedicated folder on your computer.Next, we need to prepare your Android device.


Now, let's link the two devices.
.zip file, make sure to open the terminal directly inside the extracted folder and run every command below with ./ leading it).adb pair <IP-address>:<port>
adb connect <IP-address>:<port>
scrcpy
Your phone screen should now instantly pop up on your computer!
unknown host serviceYou might enter the six-digit pairing code and then get:
error: unknown host service
This usually means the adb command you just opened is talking to an older ADB server that was already running in the background. The command-line client understands wireless pairing, but that background server does not.
From inside your Scrcpy folder, restart ADB using:
./adb kill-server
./adb start-server
./adb version
If the error remains on Windows, force-close the conflicting ADB process and start the bundled version again:
taskkill.exe /F /IM adb.exe
./adb start-server
Now return to Pair device with pairing code on your phone. Use the newly displayed port and pairing code, because the previous ones may have expired:
./adb pair PHONE_IP:NEW_PAIRING_PORT
If another copy of ADB keeps taking over, where.exe adb will show every adb.exe Windows can find. Using ./adb from the extracted Scrcpy folder ensures that you run the copy bundled with Scrcpy.
Multiple (2) ADB devicesAfter pairing and connecting, Scrcpy might report two devices even though you only have one phone:
ERROR: Multiple (2) ADB devices:
ERROR: --> (tcpip) 192.168.8.123:44381 device
ERROR: --> (tcpip) adb-..._adb-tls-connect._tcp device
ERROR: Select a device via -s
ERROR: Server connection failed
This happens when ADB can see the same phone twice: once through the IP address you connected manually and once through Android's automatic mDNS discovery. The final Server connection failed message is a consequence of Scrcpy not knowing which entry to select.
Run adb devices to see the available serials:
./adb devices
Then tell Scrcpy exactly which one to use. For example:
./scrcpy -s 192.168.8.123:44381
Replace that example address and port with the current IP connection shown by adb devices.
Alternatively, remove the manually created IP connection and let Scrcpy use the automatically discovered entry:
./adb disconnect PHONE_IP:CONNECTION_PORT
./scrcpy
The scrcpy -e shortcut only works when ADB sees exactly one TCP/IP device. If the same phone appears twice, select its full serial with -s or disconnect one of the duplicate routes first.
A quick tip for the future: As long as your phone and PC are on the same Wi-Fi and Wireless Debugging is turned on, you usually do not need to pair again. Run adb connect PHONE_IP:CONNECTION_PORT, then launch Scrcpy. If ADB lists the phone twice, use scrcpy -s PHONE_IP:CONNECTION_PORT.
If dealing with IP addresses, terminal commands, and ports every time sounds like a hassle, I built a tool to automate and simplify this entire workflow. It’s called Flect.
Instead of manually typing ADB commands, Flect gives you a clean web interface to handle the discovery and connection.
How to use Flect:
run.bat file to start the tool.
And that's it! Flect handles the command line work in the background so you can get straight to mirroring your screen with just a few clicks.
Learn how to use Chrome Remote Desktop to securely access your computer, provide remote support, and connect to headless Linux devices from anywhere.
Author
Anna Ablordeppey
Duration
4 min
Turn your Android device into a powerful Linux workstation. Follow this simple Termux tutorial to learn how to install the app, configure it properly, and start using essential terminal commands in minutes.
Author
Randy Dwomoh
Duration
3 mins
Do you live for mischief? Well then join the club. Learn how to use the Bluetooth Low Energy (BLE) functionality of Android smartphones to create Phantom Bluetooth Advertisements. Let’s create a little mayhem….
Author
Randy Dwomoh
Duration
4 mins
Comments
0 comments · Page 1 / 1