Monday, April 13, 2009

JAVA: IOException - LocalRMIServerSocketFactory

"The server sockets created using the LocalRMIServerSocketFactory only accept connections from clients running on the host where the RMI remote objects have been exported"

If you r using ubuntu and while running jconsole you are getting this message, then you should comment 127.0.1.1 ~domain from /etc/hosts file.

$ sudo vi /etc/hosts
127.0.0.1 localhost
#127.0.1.1 ubuntu


This is Ubuntu specific bug.

For more information visit:
This link

No comments:

Post a Comment