[ https://issues.apache.org/jira/browse/SOLR-7977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17351328#comment-17351328 ]
Shawn Heisey edited comment on SOLR-7977 at 5/25/21, 7:53 PM: -------------------------------------------------------------- This can be accomplished now with this config in the include file: SOLR_ADDL_ARGS="-Djetty.host=10.4.5.6" If there is any reason to think that variable might already be defined when the include file is read, add '$SOLR_ADDL_ARGS ' (minus the quotes) just after the first double quote. But it would be better to have bin/solr utilize SOLR_JETTY_HOST like the windows script does. was (Author: elyograg): This can be accomplished now with this config in the include file: SOLR_ADDL_ARGS="-Djetty.host=10.4.5.6" If there is any reason to think that variable might already be defined when the include file is read, add '$SOLR_ADDLARGS ' (minus the quotes) just after the first double quote. But it would be better to have bin/solr utilize SOLR_JETTY_HOST like the windows script does. > SOLR_HOST in solr.in.sh doesn't apply to Jetty's host property > -------------------------------------------------------------- > > Key: SOLR-7977 > URL: https://issues.apache.org/jira/browse/SOLR-7977 > Project: Solr > Issue Type: Bug > Components: security, SolrCloud > Reporter: Shalin Shekhar Mangar > Priority: Major > Labels: impact-medium > Fix For: 5.5, 6.0 > > > [~sdavids] pointed out that the SOLR_HOST config option in solr.in.sh doesn't > set Jetty's host property (solr.jetty.host) so it still binds to all net > interfaces. Perhaps it should apply to jetty as well because the user > explicitly wants us to bind to specific IP? -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org