Trying to upgrade to solr 9.3 .

Defined below in solr.in.sh
SOLR_HOST=<ipaddress of the machine>
SOLR_JETTY_HOST=0.0.0.0


But still see the solr instance getting registered as localhost with zookeeper 
. Not sure what is missing?

2023-09-13 02:11:10.514 INFO  (main) [] o.a.s.c.ZkController Register node as 
live in ZooKeeper:/live_nodes/localhost:8983_solr


Thanks,
Rajeswari


On 5/21/22, 11:06 AM, "Shawn Heisey" <apa...@elyograg.org 
<mailto:apa...@elyograg.org>> wrote:




On 5/21/2022 8:02 AM, Shawn Heisey wrote:
> If you have installed the solr service, then you would want to do 
> "service solr status" instead, replacing solr with whatever you 
> actually named the service. Did you install the service with the 
> service installer script? What options did you use for that? What OS 
> is this on? What is the full path of the configuration file where you 
> changed SOLR_HOST? If you haven't used the installer script, then I 
> will need details about exactly how and where you installed Solr in 
> order to know what to ask next.


This might be really easy to resolve.


I've been looking at the startup scripts. SOLR_HOST does not control 
what address Solr listens on. Solr 9.x only listens on 127.0.0.1 by 
default. Previous Solr versions listened on all interfaces by default.


I bet if you added this line it might start working. If not, provide 
the info already requested:


SOLR_JETTY_HOST=192.168.100.2


You should probably also keep the SOLR_HOST you have defined.


Thanks,
Shawn





Reply via email to