There were some posts about this issue regarding linux and a messed up
host file or windows and permission problems on the host file.
Both wasn't the case for me, but since yesterday I had this problem,
too (which is odd, because it worked quite a long time, maybe related
to a java autoupade).
----
Windows Vista 32 Bit, Eclipse Ganymede and sdk 1.1r1


But I noticed that the "localhost" entry in the host file ( c:\windows
\system32\drivers\etc\hosts ) looked like this:
::1             localhost
which seems to be the IPV6 equivalent of 127.0.0.1
so I changed it to
127.0.0.1             localhost

Now the error is gone and I can debug again :-)


On 5 Mrz., 04:02, NWallman <[email protected]> wrote:
> Hi,
>
> I am struggling to get my emulator to be able to bind for debugging
> purposes.  I get the following stack trace when I start my emulator:
>
> [2009-03-04 19:35:46 - ddms]Failed to reopen debug port for Selected
> Client to: 8700
> [2009-03-04 19:35:46 - ddms]Address family not supported by protocol
> family: bind
> java.net.SocketException: Address family not supported by protocol
> family: bind
>         at sun.nio.ch.Net.bind(Native Method)
>         at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
>         at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
>         at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
>         at com.android.ddmlib.MonitorThread.reopenDebugSelectedPort(Unknown
> Source)
>         at com.android.ddmlib.MonitorThread.run(Unknown Source)
>
> [2009-03-04 20:00:39 - ddms]Can't bind to local 8600 for debugger
> [2009-03-04 20:00:43 - ddms]Can't bind to local 8601 for debugger
> [2009-03-04 20:00:43 - ddms]Can't bind to local 8602 for debugger
> [2009-03-04 20:00:45 - ddms]Can't bind to local 8603 for debugger
> [2009-03-04 20:00:54 - ddms]Can't bind to local 8604 for debugger
> [2009-03-04 20:00:54 - ddms]Can't bind to local 8605 for debugger
> [2009-03-04 20:00:54 - ddms]Can't bind to local 8607 for debugger
> [2009-03-04 20:00:55 - ddms]Can't bind to local 8610 for debugger
> [2009-03-04 20:00:55 - ddms]Can't bind to local 8611 for debugger
>
> Can someone please explain to me what I am doing wrong?  Here are some
> specs:
>
> Windows Vista Ultimate
> JDK 1.6 Update 12
> Android SDK 1.0r2
>
> Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to