I think I forgot the /etc/defult/solr.in.sh location - I think that is the one in use after installing with the service installer script :) Add your SOLR_JETTY_HOST in there.
Jan > 24. mars 2026 kl. 16:27 skrev Gadsby, Eric T. via users > <[email protected]>: > > Hi, thanks for the help. I should have been clearer, I know it’s the JETTY > host that needs to change. > > When I look in /opt/solr/bin I see the following files: > > init.d post solr solr.in.cmd.orig > install_solr_service.sh postlogs solr.cmd solr.in.sh.orig > > What file should I edit. A search also said that clued me in on > /etc/defult/ there I find: > > solr.in.sh > > What file should I edit? Thanks again! > > > > > > <http://www.towson.edu/> > Eric T. Gadsby > Pronouns: he/him/his > IT Operations Specialist | Library IT, Albert S. Cook Library > — > P: 410-704-3340 > [email protected] <mailto:[email protected]> | > www.towson.edu/https://libraries.towson.edu <https://libraries.towson.edu/> > — > Confidentiality Notice: This message may contain information that is > confidential, privileged, proprietary, or otherwise legally exempt from > disclosure. If you are not the intended recipient, you are notified that you > are not authorized to read, print, copy or disseminate this message, any part > of it, or any attachments. If this message has been sent to you in error, > please notify the sender by replying to this transmission, or by calling > Library IT, Albert S. Cook Library at 410-704-3340 . > > From: Jan Høydahl <[email protected]> > Date: Tuesday, March 24, 2026 at 11:23 AM > To: [email protected] <[email protected]> > Subject: Re: Getting Solr to listen to 0.0.0.0. > > [ CAUTION: This email is from outside of TU. Use caution before clicking > links or opening attachments. If suspicious, report to [email protected]. ] > > Where to set environment variables for Solr depends on how you have installed > it. > > If you run directly from a unpacked tgz download, then > <solr-root>/bin/solr.in > <https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsolr.in%2F&data=05%7C02%7Cegadsby%40towson.edu%7C92c38bca78604716b6bb08de89b94771%7Ccbf9739249f649dda8a619f710efcc35%7C0%7C0%7C639099626288251525%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=kZVYzuUDvc4HyWTMgJnO9Ph8tA4bSLK3br5awPzKaeo%3D&reserved=0 > <http://solr.in/>>.sh can be used. Or you can set env.var in your shell > before running bin/solr start > > If you have installed Solr with the linux install script, then look at > /var/solr/solr.in > <https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsolr.in%2F&data=05%7C02%7Cegadsby%40towson.edu%7C92c38bca78604716b6bb08de89b94771%7Ccbf9739249f649dda8a619f710efcc35%7C0%7C0%7C639099626288276747%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=KSOjyKUvJ3MPdhEZvyfTZth09kSbBhgzWkv2%2BQkmzDI%3D&reserved=0 > <http://solr.in/>>.sh for the same > > If you run with SolrOperator in Kubernetes, then set envs in your SolrCloud > CRD manifest. > > etc > > Jan > > > 24. mars 2026 kl. 16:17 skrev Matthias Apitz <[email protected]>: > > > > El día martes, marzo 24, 2026 a las 03:05:32p. m. +0000, Gadsby, Eric T. > > via users escribió: > > > >> Dear Friends, > >> > >> I hope all are enjoying a good day. We are installing Solr in a new > >> hosting environment and we need to access the WebUI from another host. > >> The default settings point to the servers loopback. I know from: > >> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsolr.apache.org%2Fguide%2Fsolr%2F9_10%2Fdeployment-guide%2Ftaking-solr-to-production.html%23security-considerations&data=05%7C02%7Cegadsby%40towson.edu%7C92c38bca78604716b6bb08de89b94771%7Ccbf9739249f649dda8a619f710efcc35%7C0%7C0%7C639099626288295736%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=XSNCGWc%2B9uKWu56G32oWC23x42JHjZeJrbWaMdbzS5M%3D&reserved=0 > >> > >> <https://solr.apache.org/guide/solr/9_10/deployment-guide/taking-solr-to-production.html#security-considerations> > >> that should be changed but I admit I am not sure the correct place to > >> make the change. All help would be greatly appreciated. Thanks in > >> advance! > >> > >> > > > > See in solr.in.sh: > > > > In solr-9.8.0/bin/solr.in.sh it says about SOLR_HOST: > > > > # By default the start script uses "localhost"; override the hostname here > > # for production SolrCloud environments to control the hostname exposed to > > cluster state > > > > I'd add for clarification the following statement: > > > > # Note: Setting SOLR_HOST does not influence where the LISTEN gets > > # created; for this see SOLR_JETTY_HOST below. > > > > HIH > > > > matthias > > > > -- > > Matthias Apitz, ✉ [email protected], > > https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.unixarea.de%2F&data=05%7C02%7Cegadsby%40towson.edu%7C92c38bca78604716b6bb08de89b94771%7Ccbf9739249f649dda8a619f710efcc35%7C0%7C0%7C639099626288314068%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=87XC1TlvALQ7eH%2FNHib8S3OssIvDDhM5MR%2Bsv74fQ3g%3D&reserved=0 > > <http://www.unixarea.de/> +49-176-38902045 > > Public GnuPG key: > > https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.unixarea.de%2Fkey.pub&data=05%7C02%7Cegadsby%40towson.edu%7C92c38bca78604716b6bb08de89b94771%7Ccbf9739249f649dda8a619f710efcc35%7C0%7C0%7C639099626288330811%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=sIrGa7BEQax0Vt4qy3QE0V2l1nephyGh%2FHmzDI07ONM%3D&reserved=0 > > <http://www.unixarea.de/key.pub> > > > > Jens Spahn (CDU, 11.3.2025 in FAZ): > > "Wir können uns verteidigen lernen oder alle Russisch lernen." > > "We can learn to defend ourselves or we can all learn Russian." > > "O podemos aprender a defendernos o todos podemos aprender ruso." > > > > Ich ziehe es vor, Russisch zu lernen. I prefer to learn russian. > > Yo prefiero aprender ruso. >
