Same thing happened to me this week.  A quick search indicates that
the ::1 address for localhost is in some way related to IPv6.  I don't
know why this happens, but then I didn't dig any deeper (I figure the
less I know about Vista the happier I'll be).  I made the same edit to
the hosts file and all is fine again.

On Mar 10, 6:27 am, Emmanuel <[email protected]> wrote:
> I had the same problem yesterday !
>
> Actually, the original poster post saved my day :
> it's the window Host file that is messed up :
> the file is at this place :
> C:\WINDOWS\system32\drivers\etc
>
> And should contain this line :
> 127.0.0.1       localhost
>
> Putting this line back allow me to debug once again.
>
> But to tell the truth, I'm more than worried by this. I can't imagine
> how this line get removed.
> To add it back, I had Windows Defender that warned me 'something' was
> happening.
> And later, as I was working on my Android application, the line got
> removed once again. And Windows Defender didn't tell me anything.
>
> So I really suspect there is a virus there that remove this line...
>
> If someone know something about that, I would be glad to here it !
>
> Emmanuelhttp://androidblogger.blogspot.com/
>
> On 10 mar, 03:45, [email protected] wrote:
>
> > I'm having the exact same problem.  It started today.  I could always
> > connect before.
>
> > Can you be more specific about your solution with your host file?
>
> > Justin
>
> > On Mar 5, 1:19 pm, NWallman <[email protected]> wrote:
>
> > > Turns out my hosts file was messed up.  When I fixed that my problem
> > > was resolved.
>
> > > On Mar 4, 8:02 pm, NWallman <[email protected]> wrote:
>
> > > > Hi,
>
> > > > I am struggling to get my emulator to be able tobindfor debugging
> > > > purposes.  I get the following stack trace when I start my emulator:
>
> > > > [2009-03-04 19:35:46 -ddms]Failedto 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'tbindtolocal8600fordebugger
> > > > [2009-03-04 20:00:43 -ddms]Can'tbindtolocal8601 fordebugger
> > > > [2009-03-04 20:00:43 -ddms]Can'tbindtolocal8602 fordebugger
> > > > [2009-03-04 20:00:45 -ddms]Can'tbindtolocal8603 fordebugger
> > > > [2009-03-04 20:00:54 -ddms]Can'tbindtolocal8604 fordebugger
> > > > [2009-03-04 20:00:54 -ddms]Can'tbindtolocal8605 fordebugger
> > > > [2009-03-04 20:00:54 -ddms]Can'tbindtolocal8607 fordebugger
> > > > [2009-03-04 20:00:55 -ddms]Can'tbindtolocal8610 fordebugger
> > > > [2009-03-04 20:00:55 -ddms]Can'tbindtolocal8611 fordebugger
>
> > > > 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!- Hide quoted text -
>
> > > - Show quoted text -- Masquer le texte des messages précédents -
>
> > - Afficher le texte des messages précédents -
--~--~---------~--~----~------------~-------~--~----~
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