scrcpy: Using scrcpy Wirelessly Not Working in Latest Build
For the record, it has never actually worked for me, wirelessly. I can get it to work with wired adb, but not wirelessly.
Basically, I always get the “connection rejected” error, no matter what I try.
:~$ scrcpy -s 192.168.1.150:5555 -m 800 -b 2M
/usr/local/share/scrcpy/scrcpy-server....shed. 1.1 MB/s (19038 bytes in 0.017s)
error: more than one device/emulator
ERROR: "adb reverse" returned with value 1
WARN: 'adb reverse' failed, fallback to 'adb forward'
ERROR: Exception on thread Thread[main,5,main]
java.io.IOException: Connection refused
at android.net.LocalSocketImpl.connectLocal(Native Method)
at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:292)
at android.net.LocalSocket.connect(LocalSocket.java:145)
at com.genymobile.scrcpy.DesktopConnection.connect(DesktopConnection.java:32)
at com.genymobile.scrcpy.DesktopConnection.open(DesktopConnection.java:37)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:13)
at com.genymobile.scrcpy.Server.main(Server.java:70)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:287)
So, I was requested to open an issue here. I have seen many posts like this, already, however, and they each seem to end up getting closed despite no resolution.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 28
Alright, that looks more like it. They’re all working. Idk wtf was wrong, before. I swear, things will break right up until the point I get the dev’s attention, then it works just to make me look bad. Haha