Failed to initialize monitor Thread: Unable to establish loopback connection

前端 未结 6 1319
野趣味
野趣味 2020-12-11 10:08

Since yesterday suddenly my Eclipse does not work anymore. The error is \"Failed to initialize monitor Thread: Unable to establishe loopback connection\". I googled and trie

相关标签:
6条回答
  • 2020-12-11 10:52

    I got this problem after updating ADT and SDKs etc. I did solutions above but didn't work at all. So, update JDK from "JDK 8u25" to "JDK 8u45" and changed path setting (on Windows and Eclipse). This works for me perfectly!

    0 讨论(0)
  • 2020-12-11 10:54

    Solution : turn off Teredo Tunneling Pseudo-Interface.

    This probably converts IP4 to IPv6 addresses or something, resulting in an IPv6 address for your localhost (strange though, that a PING still results in IP4). Anyway, turning it off (Device manager > View > Show hidden devices > right click on Teredo > disable) solves the problem!

    I found out by doing a ipconfig /all in the NON working situation. It showed :

    Tunnel adapter Teredo Tunneling Pseudo-Interface:

    Connection-specific DNS Suffix . :

    Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface

    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0

    DHCP Enabled. . . . . . . . . . . : No

    Autoconfiguration Enabled . . . . : Yes

    IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:####:###:####:####(Preferred)

    Link-local IPv6 Address . . . . . : fe80::3c47:###:####:#### (Preferred)

    //edit : I guess it's a workaround untill Eclipse supports IPv6

    0 讨论(0)
  • 2020-12-11 11:01

    My solution was: Terminate my proxifier.exe

    I guess eclipse doesn't like proxies

    0 讨论(0)
  • 2020-12-11 11:01

    Please check your anti virus blocked your eclipse,just give allow full access to eclipse on your antivirus security settings.

    I faced the same problem in my eclipse and I am using k7 total security.Now the problem is solved

    0 讨论(0)
  • 2020-12-11 11:06

    See https://stackoverflow.com/a/11327411/552958

    I suspect you are using Java 7 which looks like it prefers IPV6 over IPV4. So you need to make sure that -Djava.net.preferIPv4Stack=true is a jvm argument.

    0 讨论(0)
  • 2020-12-11 11:10

    I came here to add that in my case the solution that worked was to change eclipse.ini. I did try ALL the other answers in this thread and in other threads (reinstalling Eclipse, reinstalling the Android SDK, reinstalling Java 7 as well, rebooting, checking if Toledo was installed, etc). After an exhaustive google search, I came across this:

    http://www.java.net/node/703177

    However, I am not knowledgeable enough to understand why it worked. If anyone has any idea, please let me know. Thanks

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