Hi Everyone, We are running solr 6.4.1 in cloud mode on CentOS production server. Currently, we are using the embedded zookeeper. It is a simple set up with one collection and one shard.
By default, Jetty server binds to all interfaces which is not safe so we have changed the bin/solr script. We have added "-Djetty.host=127.0.0.1" in SOLR_START_OPTS so that it looks like as follows. SOLR_START_OPTS=('-server' "${JAVA_MEM_OPTS[@]}" "${GC_TUNE[@]}" "${GC_LOG_OPTS[@]}" \ "${REMOTE_JMX_OPTS[@]}" "${CLOUD_MODE_OPTS[@]}" $SOLR_LOG_LEVEL_OPT -Dsolr.log.dir="$SOLR_LOGS_DIR" \ "-Djetty.host=127.0.0.1" "-Djetty.port=$SOLR_PORT" "-DSTOP.PORT=$stop_port" "-DSTOP.KEY=$STOP_KEY" \ "${SOLR_HOST_ARG[@]}" "-Duser.timezone=$SOLR_TIMEZONE" \ "-Djetty.home=$SOLR_SERVER_DIR" "-Dsolr.solr.home=$SOLR_HOME" "-Dsolr.install.dir=$SOLR_TIP" \ "${LOG4J_CONFIG[@]}" "${SOLR_OPTS[@]}") We just found that with this change everything works fine in cloud mode except the streaming expressions. With streaming expressions, we get following response. org.apache.solr.client.solrj.SolrServerException: Server refused connection > at: http://<server ip>:8081/solr/collection1_shard1_replica1 We don't get this error if we let jetty server bind to all interfaces. Any idea about what's the problem here? Thanks, Pratik