Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

build runDev: specify solr.host.advertise

David Smiley6d95533fbe01
diff --git a/solr/packaging/build.gradle b/solr/packaging/build.gradle
index 59a73fcfca5..31d4904ba91 100644
--- a/solr/packaging/build.gradle
+++ b/solr/packaging/build.gradle
@@ -235,7 +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.host.advertise', '127.0.0.1'
systemProperty 'solr.port.listen', '8983'
systemProperty 'solr.install.dir', file("$workingDir/..")
systemProperty 'solr.logs.dir', file("$workingDir/logs")