From: <glassfish_at_javadesktop.org>
Date: Wed, 02 Jun 2010 08:49:22 PDT
From the admin GUI, go to Node Agents and click on the particular agent you are interested in. Click on the JMX tab and you'll see the port specified in the port field. Note whether security is enabled or not.
If it's not secure, you should be able to connect with host:port in the field instead of service:jmx.