For some historic reasons, Solr has always explicitly overridden the 
`clientPortAddress` -- but as of a few versions ago, there is a Solr 
setting (SOLR_ZK_EMBEDDED_HOST) that can be used to override solr's 
override...

https://solr.apache.org/guide/solr/latest/deployment-guide/taking-solr-to-production.html#security-considerations


If you're familiar with java code, the code Solr uses when instructed to 
run embeeded ZK server (and the logic for how that server is configured) 
can be found in SolrZkServer ...

https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/cloud/SolrZkServer.java#L85-L122



-Hoss
http://www.lucidworks.com/

Reply via email to