You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Radim Kolar <hs...@sendmail.cz> on 2011/12/04 08:39:16 UTC

connecting to wrong IP?

C:\cassandra\bin>nodetool -h 10.0.0.9 repair
Starting NodeTool
Error connection to remote JMX agent!
java.rmi.ConnectException: Connection refused to host: 192.168.140.1; 
nested exc
eption is:
         java.net.ConnectException: Connection timed out: connect
         at 
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)

Re: connecting to wrong IP?

Posted by Edward Capriolo <ed...@gmail.com>.
2011/12/4 Radim Kolar <hs...@sendmail.cz>

> C:\cassandra\bin>nodetool -h 10.0.0.9 repair
> Starting NodeTool
> Error connection to remote JMX agent!
> java.rmi.ConnectException: Connection refused to host: 192.168.140.1;
> nested exc
> eption is:
>        java.net.ConnectException: Connection timed out: connect
>        at sun.rmi.transport.tcp.**TCPEndpoint.newSocket(**
> TCPEndpoint.java:601)
>

JMX is not very happy with hostname confusion. This is all on the setup of
your DNS and system. Multi network systems cause issues. I see this often
and have a small guide here:

http://www.jointhegrid.com/highperfcassandra/?p=140