MyNixOS website logo
option

services.cassandra.listenAddress

Address or interface to bind to and tell other Cassandra nodes to connect to. You must change this if you want multiple nodes to be able to communicate!

Set listenAddress OR listenInterface, not both.

Leaving it blank leaves it up to InetAddress.getLocalHost(). This will always do the "Right Thing" if the node is properly configured (hostname, name resolution, etc), and the Right Thing is to use the address associated with the hostname (it might not be).

Setting listenAddress to 0.0.0.0 is always wrong.

Declarations
Type
null or string
Default
"127.0.0.1"
Example
null