lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: Alternate Port Not Working for Solr 6.0.0
Date Tue, 31 May 2016 20:31:22 GMT
On 5/31/2016 2:02 PM, Teague James wrote:
> Hello, I am trying to install Solr 6.0.0 and have been successful with
> the default installation, following the instructions provided on the
> Apache Solr website. However, I do not want Solr running on port 8983,
> I want it to run on port 80. I started a new Ubuntu 14.04 VM,
> installed open JDK 8, then installed Solr with the following commands:
> Command: tar xzf solr-6.0.0.tgz solr-6.0.0/bin/
> --strip-components=2 Response: None, which is good. Command:
> ./ solr-6.0.0.tgz -p 80 Response: Misplaced or
> Unknown flag -p So I tried... Command: ./
> solr-6.0.0.tgz -i /opt -d /var/solr -u solr -s solr -p 80 Response: A
> dump of the log, which is INFO only with no errors or warnings, at the
> top of which is "Solr process 4831 from /var/solr/ not
> found" If I look in the /var/solr directory I find a file called
>, but nothing else. What did I miss? Previous versions of
> Solr, which I deployed with Tomcat instead of Jetty, allowed me to
> control this in the server.xml file in /etc/tomcat7/, but obviously
> this no longer applies. I like the ease of the installation script; I
> just want to be able to control the port assignment. Any help is
> appreciated! Thanks! 

The port can be changed after install, although I have been also able to
change the port during install with the -p parameter.  Check
/etc/default/ and look for a line setting SOLR_PORT.  On my
dev server, it looks like this:


Before making any changes in that file, make sure that Solr is not
running at all, or you may be forced to manually kill it.


View raw message