I want to monitore a server(LINUX) from widnows with the help of visualvm.i added all the 3 options eg: jmx port, authentication, and ssl option to startp.sh file.
Even after doing in once i connect i get same error as can not connect to server using service jmx:rmi...........
following aer the option -Djava.rmi.server.hostname=server ip\
i added the port no to iptables and restarted.
Both my mahchine and linux serevers are in the same domain,
Any network related setting i need to do.
PLease help me in this.
I need more information. How do you specify the connection to your server in VisualVM? Can telnet to your Linux server on port 8501 from your Windows machine? Note that JMX RMI connector opens two ports: one is for the RMI registry, and it's the port that you usually supply with the -Dcom.sun.management.jmxremote.port=<port> property. The other port is used to export JMX RMI connection objects. This second port is usually dynamically allocated at random. This could be a problem if you are running iptables. Try to disable it to see if it solves your problem.