Check the JMX port listed in /etc/cassandra/cassandra-env.sh If it's not default you can pass it to nodetool using the --jmx-port option.
Cheers ----------------- Aaron Morton Freelance Cassandra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 31/01/2013, at 3:52 AM, Shahryar Sedghi <shsed...@gmail.com> wrote: > I migrated my test environment from 1.2.0 to 1.2.1 (DataStax Community) and > nodetool can not communicate to 7199, even if it is listening. in one node I > get > Failed to connect to 'cassandra4:7199': Connection refused > > in another node I get timeout. > > Did I do anything wrong, when upgrading? > > Thanks In advance > > Shahryar > -- > "Life is what happens while you are making other plans." ~ John Lennon