This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Connection Exception when tring to connect to a remot host using visualvm