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 Regards, Sam On 28 May 2013 03:24, Mark Mccraw <mark.mcc...@sas.com> 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 | http://www.acunu.com | @acunu