Connection Exception when tring to connect to a remot host using visualvm
Alpha Beta
Greenhorn
Joined: May 16, 2011
Posts: 1
posted
0
Hi,
I am trying to moniter a java application running on remote jvm .I have tried starting the jstatd server with an external RMI Registry on the remote machine and when i try to connect that remote host from my visualvm (local).IT gives me a cannot connect to hostname:port using jmx:rmi:///jndi/rmi://hostname:port/jmxrmi. Any help on this would be appreciated.
Thanks in advance
Shakti
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 11862
posted
0
Perhaps the remote machine firewall blocks that port?