On 8/20/2015 2:34 AM, Samy Ateia wrote: > I changed the solr listen port in the solr.in.sh file in my solr home > directory by setting the variable: SOLR_PORT=XXXX. > But Solr is still trying to also listen on 8983 because it gets started with > the -DSTOP.PORT=8983 variable. > > What is this -DSTOP.PORT variable for and where should I configure it? > > I ran the install_solr_service.sh script to setup solr and changed the > SOLR_PORT afterwards.
The stop port is used by Jetty ... as a mechanism to stop jetty. It will be different than 8983 on a standard install. It defaults to 1000 less than the Solr port -- 7983 if you don't change the solr port. This is in the solr shell script: STOP_PORT=`expr $SOLR_PORT - 1000` In the same way, the embedded zookeeper port for SolrCloud examples is 1000 *more* than the Solr port: zk_port=$[$SOLR_PORT+1000] The RMI (JMX) port defaults to the Solr port plus 10000, although the script doesn't set this very intelligently, I think I should probably fix this: RMI_PORT="1$SOLR_PORT" Thanks, Shawn