lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samy Ateia <samyat...@hotmail.de>
Subject RE: How to configure solr to not bind at 8983‏
Date Thu, 20 Aug 2015 13:55:48 GMT
Ahh thank you,
that explains it I changed the port to 9983 not knowing that the stop port would result to
the old port.
so i guess i just need to change it to something else then.

> Subject: Re: How to configure solr to not bind at 8983‏
> To: solr-user@lucene.apache.org
> From: apache@elyograg.org
> Date: Thu, 20 Aug 2015 07:14:25 -0600
> 
> 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
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message