JConsole Can't Connect
[Sorry, this is a repeat from a different forum, this one seemed more appropriate so the other post can be deleted.]
I'm trying to use JConsole to monitor the memory usage of a program. According to the Sun documentation on it, all you have to do is run it setting the com.sun.management.jmxremote property and run jconsole as the same user.
java -Dcom.sun.management.jmxremote NCClient
as the same user, when I run jconsole and select the NCClient JVM, I get
Connection refused to host: xxx.xxx.xxx.xxx [my ip]; nested exception is:
java.net.ConnectException: Connection refused
Does anybody know why this is?
Thanks,
Andy

