I have started my application with this settings below:


The app is running on a Centos machine. I have enabled the port via iptables. I have checked that when I run my application, the port 43588 is shown as listening.

Somehow I still get this error:

Cannot connect to ...:43588 using service:jmx:rmi///jndi/rmi://...:43588/jmxrmi?

What is my mistake? We are connecting from a windows machine.

marked as duplicate by ThoriumBR, kasperd, Ward, Dave M, fuero Oct 9 '17 at 18:09

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


look at this: How do I fix a 'Failed to retrieve RMIServer stub' JMX error?

basically java is using yet another connection, which is not configured.

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