This is an automated email from the ASF dual-hosted git repository.
dsmiley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 4ded44fef2d build runDev: specify solr.host
4ded44fef2d is described below
commit 4ded44fef2de15858ea339e17aad2934bcf46cd1
Author: David Smiley <[email protected]>
AuthorDate: Thu Feb 12 22:07:53 2026 -0500
build runDev: specify solr.host
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 759528e7550..59a73fcfca5 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', '127.0.0.1'
systemProperty 'solr.port.listen', '8983'
systemProperty 'solr.install.dir', file("$workingDir/..")
systemProperty 'solr.logs.dir', file("$workingDir/logs")