Giter VIP home page Giter VIP logo

Comments (9)

gamecln277 avatar gamecln277 commented on July 26, 2024

I find some log
[root@ws-scrcpy ws-scrcpy1.13]# adb -P 5037 -s 77.77.77.9\:5555 shell 'CLASSPATH=/data/local/tmp/scrcpy-server.jar nohup app_process / com.genymobile.scrcpy.Server 0 8000000 false - false true web' [server] ERROR: WebSocket error java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:454) at sun.nio.ch.Net.bind(Net.java:446) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) at org.java_websocket.server.WebSocketServer.doSetupSelectorAndServerThread(WebSocketServer.java:505) at org.java_websocket.server.WebSocketServer.run(WebSocketServer.java:315) at com.genymobile.scrcpy.WebSocketConnection.<init>(WebSocketConnection.java:20) at com.genymobile.scrcpy.Server.main(Server.java:116) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:290)

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024
  1. You are using old version, always try latest before openning issues
  2. This is normal. It says: "Command [..] timed out after 20000ms" because it was waiting for command exit code, but server is actually will never stop (until it's killed or device is rebooted).

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

ERROR: WebSocket error java.net.BindException: Address already in use

In this case something else is listening on tcp:8886. Currently this problem is not handled, but you can change the port here.

from ws-scrcpy.

gamecln277 avatar gamecln277 commented on July 26, 2024

I fix that just input
/opt/androidSdk/platform-tools/adb -P 5038 -s 77.77.77.9\:5555 shell 'CLASSPATH=/data/local/tmp/scrcpy-server.jar nohup app_process / com.genymobile.scrcpy.Server 0 8000000 false - false true web >/dev/null&'

I change 5037 to 5038...
how can I fix it forever?
Is it a bug?

from ws-scrcpy.

gamecln277 avatar gamecln277 commented on July 26, 2024

I really sure I use the latest version...

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

I really sure I use the latest version...

I'm sorry, but you don't. Try to download zip-achive from releases page if you are not familar with git.

from ws-scrcpy.

gamecln277 avatar gamecln277 commented on July 26, 2024

sorry bor...I go into old folder....
do you have any message software? fb or telegram line
I think it's much more convenient

from ws-scrcpy.

drauggres avatar drauggres commented on July 26, 2024

gihub is fine

from ws-scrcpy.

gamecln277 avatar gamecln277 commented on July 26, 2024

ok~ thanks bro~

from ws-scrcpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.