Shree Prakash
Shree Prakash

Reputation: 2314

Cassandra is not working on server - ConnectException: 'Connection refused (Connection refused)'

I purchased a server(Singapore zone, 512 MB RAM) I tried to setup single node cluster in that server. I followed from this link when I checked $ sudo service Cassandra status It was showing

nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused (Connection refused)'.

I tried to resolve using this stackoverflow link still it showing same error. Then I tried to setup it using tar file form this apache official when I checked with $ ./nodetool status Still I am getting same issue.

Note:- With local machine it is working fine.

I am unable to figure out why i am getting problem with server. I think "Nodes seem to freeze after some period of time" because I checked that after starting node it is killed. I tried to get some idea from this link

Upvotes: 2

Views: 816

Answers (1)

nevsv
nevsv

Reputation: 2466

Review the system.log and debug.log.

I'm pretty sure that Cassandra node needs more than 512mb RAM to run.

Here, the recommendation is 4gb minimum:

https://wiki.apache.org/cassandra/CassandraHardware

Upvotes: 2

Related Questions