Make these changes in the cassandra.yaml
config file:
start_rpc: true
rpc_address: 0.0.0.0
broadcast_rpc_address: [node-ip]
listen_address: [node-ip]
seed_provider:
- class_name: ...
- seeds: "[node-ip]"
Make these changes in the cassandra.yaml
config file:
start_rpc: true
rpc_address: 0.0.0.0
broadcast_rpc_address: [node-ip]
listen_address: [node-ip]
seed_provider:
- class_name: ...
- seeds: "[node-ip]"
Yes, I think so, but I would like to open it for all ip addresses.
Yes, I think so, but I would like to open it for all ip addresses.
I mean, the IP address of the host that Cassandra is running on (not a whitelist for the client IPs).
Oh, I got it
Thank you very much. It helped me a lot
I got following error,can you please help me
Connection error: ('Unable to connect to any servers', {'192.168.13.0': error(61, "Tried connecting to [('192.168.13.0', 9042)]. Last error: Connection refused")})
If firewall is on you should allow connecting port
sudo firewall-cmd --zone=public --permanent --add-port=9042/tcp
sudo firewall-cmd --reload
(check it with telnet 192.168.13.0 9042
)
Thanks a lot for sharing this!
For me, on Cassandra 4.1.3 I got an error due to start_rpc: true
, after removing this it worked great!
Good question, its been a while! I think that was the IP address of the host you're setting up for remote access.