Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Alpha Beta
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps the remote machine firewall blocks that port?

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic