Skip to content

Instantly share code, notes, and snippets.

@andykuszyk
Last active October 31, 2023 07:48
Show Gist options
  • Save andykuszyk/7644f334586e8ce29eaf8b93ec6418c4 to your computer and use it in GitHub Desktop.
Save andykuszyk/7644f334586e8ce29eaf8b93ec6418c4 to your computer and use it in GitHub Desktop.
Setting up Cassandra for remote access

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]"
@enkelmedia
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment