Change in the default port of Jetty for Solr.
Currently Jetty uses 8983 as default port.
I wanted to change it to 8080 port.
To achieve the same I have done the changes at the following places.
1. Change in the file solr.xml located at ../solr-6.1.0/server/solr/.
Change from
<int name="hostPort">${jetty.port:8983}</int>
to
<int name="hostPort">${jetty.port:8080}</int>
2. Change in the file solr.in.sh located at ../solr-6.1.0/bin/
Change from
# Sets the port Solr binds to, default is 8983
SOLR_PORT=8983
to
# Sets the port Solr binds to, default is 8983
SOLR_PORT=8080
Currently Jetty uses 8983 as default port.
I wanted to change it to 8080 port.
To achieve the same I have done the changes at the following places.
1. Change in the file solr.xml located at ../solr-6.1.0/server/solr/.
Change from
<int name="hostPort">${jetty.port:8983}</int>
to
<int name="hostPort">${jetty.port:8080}</int>
2. Change in the file solr.in.sh located at ../solr-6.1.0/bin/
Change from
# Sets the port Solr binds to, default is 8983
SOLR_PORT=8983
to
# Sets the port Solr binds to, default is 8983
SOLR_PORT=8080
No comments:
Post a Comment