Cannot find free socket for debugger in eclipse

when I try to debug a java program, it says: "Unable to find free socket for debugger in eclipse". Could you explain how to resolve the error?

+4
source share
2 answers

As in this thread, you can explicitly specify the JVM path that you use to execute eclipse .
The following is an example of eclipse.ini .

Common checks (some of the features of Windows):

  • turn off the vista firewall (it was not activated, to be precise)
  • add a firewall rule for java.exe / javaw.exe / eclipse.exe and activate it (just make sure it does not interfere even though it has been disabled)
  • disabled my antivirus (avira antivir)
  • launched eclipse as administrator
  • disabled UAC
  • activated / deactivated wired and wireless network interfaces
  • changed network interface priorities
  • used different jvms (1.6 and 1.7)
  • created a completely new workspace
0
source

I found a solution (at least in my case).

Eclipse was installed on the company’s shared drive, as soon as I moved it to my local C drive, everything worked fine.

0
source

Source: https://habr.com/ru/post/1304056/


All Articles