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?
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
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?
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!
6 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2021 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use