Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a java application residing on centos machine. From our windows machine we plan to connect to the application. We have enabled jstatd and confirmed is running. The issue now is visual vm can never see the application for profiling? Any help on this?

share|improve this question
Are you seeing any errors? Have you turned off iptables on CentOS? – Chida Aug 24 '12 at 4:39
yes I have all already put the port under the ip tables n update it accordingly. The user name and password must be my ssh details rite? The error is cannot connect to root@myip using service:jmx:rmi://myip:1099/jmxrmi? – user132638 Aug 24 '12 at 5:15

JMX uses a lot of ports, and you'd typically have to tell the JVM to enable remote management.

Disable the firewall for all traffic from your ip and check your app is listening for JMX connections from the network.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.