I get the following error in Eclipse:
[timestamp - ddms] Can\'t bind to local 8600 for debugger
Why?
I had a similar problem on OSX. It just so happens I had opened two instances of Eclipse so I could refer to some code in another workspace. Eventually I realized the two instances might be interfering with each other so I closed one. After that, I'm no longer seeing the "Can't bind..." error.
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 & Doguhan Uluca 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.
On Windows 8
I was batteling with this for some time:
do you have AVG installed?
uninstalling AVG did the trick for me
Don't uninstall, this is just a dumb thing done by the system which as trouble finding localhost it seems. Take a look in here, it's quite easy to fix. I had the same issue a few weeks ago and solved it this way.
the window Host file that is messed up:
the file is at this place :
C:\WINDOWS\system32\drivers\etcAnd should contain this line : 127.0.0.1 localhost
For me, this was due to the fact that I was trying to debug using eclipse yet also running Android Studio. Both programs were trying to monitor android devices on the similar ports. Either quit all IDEs other than one, or modify the port number used for debugging in the IDE preferences so they are not similar.
The only fix that really worked for me was uninstalling Java 7 and installing Java 6 on my Windows 8 x64 based machine.
You can download Java 6 from here.