I have ordinary spring boot application and am able to connect to that application using jconsole when I choose it from the Local Processes group:
But I want to connect to my application remotely. Firstly I want to connect from the same PC but using remote process.
I tried to type localhost:1099 and localhost:1199 but it doesn't connect:
I didn't pass any special VM keys.
How can I connect using remote process?
I was able to connect when I used port from -Dcom.sun.management.jmxremote.port