Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

jordanp98 avatar image
jordanp98 asked ·

Is it possible to change default port configuration in DSE 6?

is it possible to change default Cassandra ports such as port 9042 to another user specified port on ubuntu/Debian where Cassandra installed package installation method?

configuration
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

Yes, it is. You just need to change the native_transport_port in cassandra.yaml and restart DSE for the changes to take effect.

The only caveat is that the package installation runs as the cassandra OS user so it is only possible to specify ports higher than 1024 since ports in the lower range are reserved and can only be used by root user.

For details, see Configuration in the DSE Docs. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.