Passing jmx thru core tunnel


(Mike James) #1

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?


(Mike James) #2

I’m sorry - this seems to be a jmx configuration issue on the remote host and not a problem with Core Tunnel. I did get a jmx connection to one of the other nodes in my remote cluster to work. Digging in to see if I can find the root cause.


(Yang.Y) #3

No problem, let me know if you need support :smiley: