How to access Spring-boot JMX remotely
问题 I know that spring automatically expose JMX beans. I was able to access it locally using VisualVM. However on prod how I can connect to remotely to the app using it\'s JMX beans? Is there a default port or should I define anything in addition? Thanks, ray. 回答1: By default JMX is automatically accessible locally, so running jconsole locally would detect all your local java apps without port exposure. To access an app via JMX remotely you have to specify an RMI Registry port. The thing to know