This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch branch_10x
in repository https://gitbox.apache.org/repos/asf/solr.git

commit 4ec57c845ef91d18241e6ee933ff6728efc20869
Author: David Smiley <[email protected]>
AuthorDate: Thu Feb 12 22:07:53 2026 -0500

    build runDev: specify solr.host.advertise
    
    Some admin UI invoked operations proxied requests by IP, and were not using 
127.0.0.1.  But by default we bind only to that, refusing others (for security).
---
 solr/packaging/build.gradle | 1 +
 1 file changed, 1 insertion(+)

diff --git a/solr/packaging/build.gradle b/solr/packaging/build.gradle
index 0e260f6c9ee..3167eabb08c 100644
--- a/solr/packaging/build.gradle
+++ b/solr/packaging/build.gradle
@@ -235,6 +235,7 @@ tasks.register('runDev', JavaExec) {
   jvmArgs = [] // don't use defaults from our build that assume this is a 
typical build task
   jvmArgs((project.findProperty('jvmArgs') ?: '').split())
 
+  systemProperty 'solr.host.advertise', '127.0.0.1'
   systemProperty 'solr.port.listen', '8983'
   systemProperty 'solr.install.dir', file("$workingDir/..")
   systemProperty 'solr.logs.dir', file("$workingDir/logs")

Reply via email to