> I was trying to debug remotely using Eclipse. I uncommented all the batch
> files in jboss/bin directory to turn on debug options. When I ever I try
> to connect I get the following message.
> Failed to connect to remote VM. Connection refused.
> Connection refused: connect
I hope you figured this out already but if you haven't, the JDK for the
JBoss server is not listening to the same port as Eclipse is trying to
connect to. Or its not listening at all (your debug switches didn't work).