File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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: 12835
    
    5
Perhaps the remote machine firewall blocks that port?

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection Exception when tring to connect to a remot host using visualvm