If you are being denied to change hosts file, one probable reason is the Security settings of the hosts file properties. To check or change permissions, go to C:\Windows\System32\drivers \etc....open Properties for 'hosts' file, click on 'Security' tab. Now select the 'Group or user names' you belong. Under 'Permissions for xyz' field, the tick marks under 'Allow' column determines your accessibility. To change permissions click on 'Edit' button and select permissions you require in the 'Permission for host' wizard.
On Mar 24, 9:44 pm, uncintbt <uncin...@gmail.com> wrote: > I am also having the problem. Is there any recent information? - I do > not see how a Windows file was changed. I only started having the > problem in the last week to 10 days. > > For my information, how do I change the host file? I get an error when > I try to re-write it. (Also using Vista.) > > On Mar 11, 5:48 pm, Nmix <nepean...@gmail.com> wrote: > > > 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 <emmanuel.ast...@gmail.com> 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, jus...@ragblue.com 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 <ad...@noobspeak.com> wrote: > > > > > > Turns out my hosts file was messed up. When I fixed that my problem > > > > > was resolved. > > > > > > On Mar 4, 8:02 pm, NWallman <ad...@noobspeak.com> 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---