[java] Eclipse Error: "Failed to connect to remote VM"

I’m getting the following error when I start Debug from the Eclipse IDE.

Message: “Failed to connect to remote VM. Connection Refused”

What could be the reason?

This question is related to java eclipse

The answer is

Remove your proxy from eclipse!

Go to network Connections within General Preferences ( Windows -> Preferences ) and set "Active Provider" to "Direct"

remove proxy

Reboot your Eclipse after that

Similar questions with java tag:

Similar questions with eclipse tag: