scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Wireless Connection refused

Open lamyergeier opened this issue 4 years ago • 6 comments

  • [x] I have read the FAQ.
  • [x] I have searched in existing issues.

Environment

  • OS: [e.g. Debian, Windows, macOS...] Ubuntu
  • scrcpy version: [e.g. 1.12.1] 1.14
  • installation method: [e.g. manual build, apt, snap, brew, Windows release...] snap
  • device model: Samasung A70
  • Android version: [e.g. 10] 10

Describe the bug A clear and concise description of what the bug is. Unable to connect over wifi. My phone has USB-C cable, so I tried to connect to my laptop by USB-C to USB-2 Cable as my laptop doesn't have USB-C port. But unfortunately my mobile is not recognized probably due to this USB-C to USB-2 Conversion. So I tried to do wirelessly (without any cable connection) as described in Readme.md

On errors, please provide the output of the console (and adb logcat if relevant).

$ adb tcpip 5555; adb connect 192.168.0.100:5555
error: no devices/emulators found
unable to connect to 192.168.0.100:5555: Connection refused

Please do not post screenshots of your terminal, just post the content as text instead.

lamyergeier avatar Jul 21 '20 07:07 lamyergeier

#842

rom1v avatar Jul 21 '20 08:07 rom1v

I wrote a script to assist wireless connections.

https://github.com/fusionneur/ethernally

I tested in various scenarios and looks fine. If you find any problem, please open an issue. Thank you

@fusionneur Your script requires the android to be rooted. That's a big additional requirement!

lamyergeier avatar Oct 16 '20 00:10 lamyergeier

I updated the script to help non-rooted devices as well. Please check it out and let me know of your experience.

I wrote a script to assist wireless connections.

https://github.com/fusionneur/ethernally

I tested in various scenarios and looks fine. If you find any problem, please open an issue. Thank you

You're the best... You're script works.🥲😇

tasnuva1 avatar Dec 21 '21 14:12 tasnuva1

I wrote a script to assist wireless connections.

https://github.com/fusionneur/ethernally

I tested in various scenarios and looks fine. If you find any problem, please open an issue. Thank you

This worked for me also, thank you!!!

rexor62 avatar Jul 03 '22 19:07 rexor62