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?
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.
How do I change the IP configuration after cloning a cluster?
How do I place commitlogs and data directory on different volumes?
Upgraded to DSE 6.8.0, getting "Error opening zip file or JAR manifest missing : lib/jamm-0.3.2.jar"
Does nodetool streamthroughput affect the performance of read requests?
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 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