Eclipse DDMS error “Can't bind to local 8600 for debugger”

后端 未结 20 1931
旧巷少年郎
旧巷少年郎 2020-11-29 01:19

I get the following error in Eclipse:

[timestamp - ddms] Can\'t bind to local 8600 for debugger

Why?

相关标签:
20条回答
  • 2020-11-29 01:31

    Try killing port 8600 with this command:

    fuser -k 8600/tcp
    

    That fixed it for me.

    0 讨论(0)
  • 2020-11-29 01:32

    I'm running the Android ADT bundle on Windows 8. Both solutions described in this topic (editing the host file and changing the eclipse preferences) did not solve the problem.

    In my situation the problem has been solved by a de-installation of Java 7 (now using Java 6). The debugger is now working again!

    0 讨论(0)
  • 2020-11-29 01:32

    In my case, it just worked when I killed the Eclipse process, and restart the software.

    0 讨论(0)
  • 2020-11-29 01:33

    In addition to adding "127.0.0.1 localhost" to your hosts file, make the following changes in Eclipse.

    Under Window -> Preferences -> Android -> DDMS:

    • Set Base local debugger port to "8601"
    • Check the box that says "Use ADBHOST" and the value should be "127.0.0.1"

    Thanks to Ben Clayton in the comments for leading me to a solution.

    Some Google keywords: Ailment or solution for Nexus S Android debugging with the error message: Can't bind to local 8600 for debugger.

    0 讨论(0)
  • 2020-11-29 01:34

    Maybe it's too late for an answer to this question but i think i have found a fix for it, what i noticed is within the info.plist file > JVMoption (Mac) with in the application package there is two version of java i.e it was showing "1.6*,1.7+" so i just changed it to "1.8*" which is my current java version and now its working for me

    0 讨论(0)
  • 2020-11-29 01:35

    On my mac from a terminal:

    $ ./adb kill-server
    $ ./adb start-server
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    

    I opened the eclipse and set the ddms port to 5037. it works fine.

    0 讨论(0)
提交回复
热议问题