port=8080
> >>>
> >>> and
> >>>
> >>> -DhostPort=8080
> >>>
> >>> but neither changed the host port for SolrCloud. It still uses the
> >> default
> >>> 8983.
> >>>
> >>> Bill
>
;>> Solr runs in a container and the container controls the port. So, you
>> need
>>>> to tell the container which port to use.
>>>>
>>>> For example,
>>>>
>>>> java -Djetty.port=8180 -jar start.jar
>>>>
>>>> -- Jack Krupansky
>>>>
>>>> -Original Message- From: Bill Au
>>>> Sent: Wednesday, December 05, 2012 10:30 AM
>>>> To: solr-user@lucene.apache.org
>>>> Subject: setting hostPort for SolrCloud
>>>>
>>>>
>>>> Can hostPort for SolrCloud only be set in solr.xml? I tried setting the
>>>> system property hostPort and jetty.port on the Java command line but
>>>> neither of them work.
>>>>
>>>> Bill
>>>>
>>
>>
Dec 5, 2012 at 12:11 PM, Jack Krupansky >wrote:
> >
> >> Solr runs in a container and the container controls the port. So, you
> need
> >> to tell the container which port to use.
> >>
> >> For example,
> >>
> >> java -Djetty.port=8180 -jar st
>> java -Djetty.port=8180 -jar start.jar
>>
>> -- Jack Krupansky
>>
>> -Original Message- From: Bill Au
>> Sent: Wednesday, December 05, 2012 10:30 AM
>> To: solr-user@lucene.apache.org
>> Subject: setting hostPort for SolrCloud
>>
>
It is set in solr.xml, but solr.xml has a syntax that allows you to set values
by system properties.
By default solr.xml is setup so that the jetty.port system property should set
the hostPort. I'm sure that works in general, so I'm not sure why it's not
working for you.
Can you provide your s
05, 2012 10:30 AM
> To: solr-user@lucene.apache.org
> Subject: setting hostPort for SolrCloud
>
>
> Can hostPort for SolrCloud only be set in solr.xml? I tried setting the
> system property hostPort and jetty.port on the Java command line but
> neither of them work.
>
> Bill
>
@lucene.apache.org
Subject: setting hostPort for SolrCloud
Can hostPort for SolrCloud only be set in solr.xml? I tried setting the
system property hostPort and jetty.port on the Java command line but
neither of them work.
Bill