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

Reply via email to