cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Overton <>
Subject Re: Running Cassandra with no open TCP ports
Date Tue, 28 May 2013 15:22:01 GMT
You can configure cassandra to use an ephemeral port for the storage
endpoint by setting the following in cassandra.yaml:
storage_port: 0

or by setting the system property cassandra.storage_port=0

Similarly for the RPC (thrift) endpoint, using rpc_port in cassandra.yaml
or the system property cassandra.rpc_port



On 28 May 2013 03:24, Mark Mccraw <> wrote:

>  Hi All,
>  I'm using Cassandra as an embedded datastore for a small service that
> doesn't need (or want) to act as a database service in any way.  Moreover,
> we may want to start up multiple instances of the application, and right
> now whenever that happens, we get port conflicts on 7000 because Cassandra
> is listening for connections.  I couldn't find an obvious way to disable
> listening on any port.  Is there an easy way?
>  Thanks!
>  Mark

Sam Overton
Acunu | | @acunu

View raw message