I'm trying to install cassandra as a single node server in a way such that I can connect from a remote machine within the same private subnet (10.10.10.0/24). I added the cassandra repo to the debian machine and installed cassandra via apt install cassandra.
Then I tried modifying the /etc/cassandra/cassandra.yaml (like explained here) and set:
listen_address: 10.10.10.2 (also tried localhost)
rpc_address: 0.0.0.0
broadcast_rpc_address: 10.10.10.2
seed_provider:
- class_name: ...
parameters:
- seeds: "10.10.10.2"
When I run ss -tulpen I can see nothing listening on 9042 on any IP. Also cannot connect to the server.
How can I make cassandra bind to the IP and expose 9042 to the remote machine?
Maybe helpful:
From
systemctl status cassandraI can see an error/etc/init.d/cassandra: 72: ulimit: error setting limit (Operation not permitted)but the service is starting anyway. Also if I change the/etc/cassandra/cassandra.yamlto something that should not work or even delete the file, cassandra is still happily starting and running. This makes me wonder if that file is even being used?cassandra version
$ cassandra -v 4.0.5neither
systemctl status cassandranorjournalctl -u cassandranor/var/log/cassandra/have any errors. I also tried runningVERBOSE=1 systemctl restart cassandrato make it log more but that didn't seem to work.I'm running cassandra inside a proxmox container (thats probably the error with the
ulimitdo I have to change this?I have disable ufw for the time being.