Re: Cant access Solr 9.4 from remote machine

2024-01-25 Thread Shawn Heisey

On 1/24/24 12:20, Hodder, Rick (Chief Information Office - IT) wrote:
But when I open a browser from my local machine and point it to the 
server http://servername:8983/solr/#  the 
browser says that it cant reach the page.


Starting in 9.0, Solr only listens on localhost out of the box.  This is 
in line with what other software does.  This is how mysql also behaves 
out of the box.


To fix it, in solr.in.cmd, add this:

SET SOLR_JETTY_HOST=0.0.0.0

This will tell the Jetty server that Solr runs under to listen on all 
interfaces.


Thanks,
Shawn


-
To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
For additional commands, e-mail: dev-h...@solr.apache.org



Cant access Solr 9.4 from remote machine

2024-01-24 Thread Hodder, Rick (Chief Information Office - IT)
I have SOLR 9.4 installed and running on port 8983 on a windows server. I'm 
running JDK 21 on the server. On the server I can point a browser to 
http://localhost:8983/solr/# and the web interface comes up, and I am able to 
search a core successfully

Port 8983 is open on the server, I can successfully tsc it over the port from 
Powershell from my local machine.

But when I open a browser from my local machine and point it to the server 
http://servername:8983/solr/# the browser says that it cant reach the page.

If I go back to the server, and bring up SOLR 8.11.1 on port 8983, I can 
successfully hit the site from my local machine.

I don't have authorization or authorization turned on.

Here are the parameters I am passing to SOLR 9.4 when running:

-DSTOP.KEY=stopsolr
-DSTOP.PORT=8087
-Djetty.home=E:\ApacheSolr9_4\server
-Djetty.logs=E:\ApacheSolr9_4\server\logs
-Djetty.port=8983
-Dorg.eclipse.jetty.util.log.SOURCE=true
-Dsolr.disable.shardsWhitelist=true
-Dsolr.enableRemoteStreaming=true
-Dsolr.enableStreamBody=true
-Dsolr.log.dir=E:\ApacheSolr9_4\server\logs
-Dsolr.solr.home=E:\ApacheSolr9_4\server\solr
-Dsolr.solr.home=solr

Thanks,

RICK HODDER
Staff Software Engineer
Global Specialty
[The Hartford]
The Hartford
83 Wooster Heights Rd. | 2nd floor
Danbury, CT, 06810
W: 475-329-6251
Email: richard.hod...@thehartford.com
www.thehartford.com
www.facebook.com/thehartford
twitter.com/thehartford



**
This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential and/or privileged 
information.  If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited.  If you are 
not the intended recipient, please notify the sender immediately by return 
e-mail, delete this communication and destroy all copies.

**