Changing Apache Tomcat® web server settings

To configure security for DSE Search, change the IP address for client connections to DSE Search using the HTTP and Solr Admin interfaces.

  1. Change the IP address for client connections to DSE Search in cassandra.yaml.

    The location of the cassandra.yaml file depends on the type of installation:

    • Package installations and Installer-Services installations: /etc/dse/cassandra/cassandra.yaml

    • Tarball installations and Installer-No Services installations: <installation_location>/resources/cassandra/conf/cassandra.yaml

    The default IP address that the HTTP and Solr Admin interface uses to access DSE Search is defined with rpc_address.

    • The default rpc_address value localhost enables Tomcat to only listen on the localhost.

    • To enable Tomcat to listen on all configured interfaces, set rpc_address to 0.0.0.0.

    The rpc_address is read on startup only.

  2. Depending on the value of rpc_address, define a Tomcat connector in the <Service name="Solr"> section of the server.xml file.

    The location of the Tomcat server.xml file depends on the type of installation:

    • Package installations and Installer-Services installations: /etc/dse/tomcat/conf/server.xml

    • Tarball installations and Installer-No Services installations: <installation_location>/resources/tomcat/conf/server.xml

    <Connector
        port="PORT"
        protocol="HTTP/1.1"
        address="IP_ADDRESS"
        connectionTimeout="20000"
        redirectPort="8443"
    />

    Advanced users can use a non-default client connection port. However, for non-default ports, DSE cannot automatically configure SSL encryption for the connection. Instead, you must include the keystore path and password in your connector configuration. For more information, see Configuring the DSE Solr HTTP/HTTPS port for customized settings.

  3. Restart the node.

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2026 | Privacy policy | Terms of use Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, 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. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM