Hi, I’ve set up a tunnel from a remote machine running jmx on port 7199 to my localhost on port 7202 and the tunnel is up. I verified that with telnet:
$ telnet localhost 7202
Trying ::1…
Connected to localhost.
Escape character is ‘^]’.
However, when I run jvisualvm and try to add a JMX connection to localhost:7202, the app fails to connect with this error:
“Cannot connect to prod-cassandra@localhost:7202 using service:jmx:rmi:///jndi/rmi://localhost:7202/jmxrmi”
This connection used to work with SSH Tunnel and I thought I imported the tunnel config correctly, but maybe not?
Any help?