Cassandra nodetool: Connection refused to host: 172.24.0.10 -


when using cassandra's nodetool see ring of remote host (use ip address), gives following error, how make work? btw - can ping host using ip address.

 root@servera:~/cassandra# bin/nodetool -h 172.24.0.10 ring error connecting remote jmx agent! java.rmi.connectexception: connection refused host: 127.0.1.1; nested exception is:         java.net.connectexception: connection refused         @ sun.rmi.transport.tcp.tcpendpoint.newsocket(tcpendpoint.java:619)         @ sun.rmi.transport.tcp.tcpchannel.createconnection(tcpchannel.java:216)         @ sun.rmi.transport.tcp.tcpchannel.newconnection(tcpchannel.java:202)         @ sun.rmi.server.unicastref.invoke(unicastref.java:128)         @ javax.management.remote.rmi.rmiserverimpl_stub.newclient(unknown source)         @ javax.management.remote.rmi.rmiconnector.getconnection(rmiconnector.java:2343)         @ javax.management.remote.rmi.rmiconnector.connect(rmiconnector.java:296)         @ javax.management.remote.jmxconnectorfactory.connect(jmxconnectorfactory.java:267)         @ org.apache.cassandra.tools.nodeprobe.connect(nodeprobe.java:106)         @ org.apache.cassandra.tools.nodeprobe.(nodeprobe.java:82)         @ org.apache.cassandra.tools.nodecmd.main(nodecmd.java:405) caused by: java.net.connectexception: connection refused         @ java.net.plainsocketimpl.socketconnect(native method)         @ java.net.abstractplainsocketimpl.doconnect(abstractplainsocketimpl.java:310)         @ java.net.abstractplainsocketimpl.connecttoaddress(abstractplainsocketimpl.java:176)         @ java.net.abstractplainsocketimpl.connect(abstractplainsocketimpl.java:163)         @ java.net.sockssocketimpl.connect(sockssocketimpl.java:384)         @ java.net.socket.connect(socket.java:546)         @ java.net.socket.connect(socket.java:495)         @ java.net.socket.(socket.java:392)         @ java.net.socket.(socket.java:206)         @ sun.rmi.transport.proxy.rmidirectsocketfactory.createsocket(rmidirectsocketfactory.java:40)         @ sun.rmi.transport.proxy.rmimastersocketfactory.createsocket(rmimastersocketfactory.java:146)         @ sun.rmi.transport.tcp.tcpendpoint.newsocket(tcpendpoint.java:613)         ... 10 more 

you need enable remote jmx:

to enable monitoring , management remote systems, set system property when start jvm: com.sun.management.jmxremote.port=portnum


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -