Skip to content

Commit 4ded44f

Browse files
committed
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).
1 parent aae5b3a commit 4ded44f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

solr/packaging/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ tasks.register('runDev', JavaExec) {
235235
jvmArgs = [] // don't use defaults from our build that assume this is a typical build task
236236
jvmArgs((project.findProperty('jvmArgs') ?: '').split())
237237

238+
systemProperty 'solr.host', '127.0.0.1'
238239
systemProperty 'solr.port.listen', '8983'
239240
systemProperty 'solr.install.dir', file("$workingDir/..")
240241
systemProperty 'solr.logs.dir', file("$workingDir/logs")

0 commit comments

Comments
 (0)