devnull devnull - 1 year ago 74
Java Question

Eclipse Error: "Failed to connect to remote VM"

I’m getting the following error when I start Debug from the

Eclipse IDE

“Failed to connect to remote VM. Connection Refused”

What could be the reason?

Answer Source

Have you setup the remote VM to accept connections?

java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=10000,suspend=n yourServer

Is there a firewall in the way?

Are you specifying the correct host / port?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download