Can I use JConsole to monitor an application through a firewall?
The com.sun.management.jmxremote.port management property specifies the port where the RMI Registry can be reached but the ports where the RMIServer and RMIConnection remote objects are exported is chosen by the RMI stack. To export the remote objects (RMIServer and RMIConnection) on a given port you need to create your own RMI connector server programmatically, as described in the section Mimicking Out-of-the-Box Management Using the JMX Remote API in the Java SE Monitoring and Management Guide.
Related Questions
- My application is allowed through the Windows Live OneCare Firewall; why is my application being flagged as "Unknown" by OneCare Anti-Spyware?
- What communication ports does the MeCanto application use? Do I need any special firewall configuration to make it work?
- What Is A Firewall Application Filter?