This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Performance and the fly likes Connection Exception when tring to connect to a remot host using visualvm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Connection Exception when tring to connect to a remot host using visualvm" Watch "Connection Exception when tring to connect to a remot host using visualvm" New topic
Author

Connection Exception when tring to connect to a remot host using visualvm

Alpha Beta
Greenhorn

Joined: May 16, 2011
Posts: 1
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: 12769
    
    5
Perhaps the remote machine firewall blocks that port?

Bill
 
Consider Paul's rocket mass heater.
 
subject: Connection Exception when tring to connect to a remot host using visualvm