You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Samy Ateia <sa...@hotmail.de> on 2015/08/20 08:09:31 UTC
How to configure solr to not bind at 8983
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.
best regards.
Samy
Re: How to configure solr to not bind at 8983
Posted by Aman Tandon <am...@gmail.com>.
Hi Samy,
Any particular reason to not to use the -p paratmeter to start it on
another port?
./solr start -p 9983
With Regards
Aman Tandon
On Thu, Aug 20, 2015 at 2:02 PM, Modassar Ather <mo...@gmail.com>
wrote:
> I think you need to add the port number in solr.xml too under hostPort
> attribute.
>
> STOP.PORT is SOLR.PORT-1000 and set under <SOLR_HOME>/bin/solr file.
> As far as I understand this can not be changed but I am not sure.
>
> Regards,
> Modassar
>
> On Thu, Aug 20, 2015 at 11:39 AM, Samy Ateia <sa...@hotmail.de> 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.
> >
> > best regards.
> >
> > Samy
> >
>
Re: How to configure solr to not bind at 8983
Posted by Modassar Ather <mo...@gmail.com>.
I think you need to add the port number in solr.xml too under hostPort
attribute.
STOP.PORT is SOLR.PORT-1000 and set under <SOLR_HOME>/bin/solr file.
As far as I understand this can not be changed but I am not sure.
Regards,
Modassar
On Thu, Aug 20, 2015 at 11:39 AM, Samy Ateia <sa...@hotmail.de> 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.
>
> best regards.
>
> Samy
>