I ran jstatd on a remote server (Ubuntu Server 14.04):
jstatd -J-Djava.security.policy=.jstatd.all.policy -J-Djava.rmi.server.logCalltrue -p 9099
and try connecting to it using jvisualvm on windows. I checked netstat , the connection is established, and on the remote control it registers a call:
Sep 11, 2015 12:48:51 PM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(4)-10.82.199.0: [10.82.199.0: sun.rmi.registry.RegistryImpl[0:0:0, 0]: java.rmi.Remote lookup(java.lang.String)] Sep 11, 2015 12:48:55 PM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(4)-10.82.199.0: [10.82.199.0: sun.rmi.registry.RegistryImpl[0:0:0, 0]: java.rmi.Remote lookup(java.lang.String)] Sep 11, 2015 12:48:59 PM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(4)-10.82.199.0: [10.82.199.0: sun.rmi.registry.RegistryImpl[0:0:0, 0]: java.rmi.Remote lookup(java.lang.String)]
All signs say they work. but, however, applications are not displayed in jvisualvm:


source share