Hello experts -

I suspect that I have a configuration issue with respect to the hostname.

I have ported our solr core from 8.11 to 9.4.

Solr 9.4 appears to start normally (no errors in the logs).

But when I point my browser to hostname:port - it gets no response.  It seems 
to be listening on localhost, but not on the actual server name.

The solr start command has this parameter:
-Dhost=sandbox-search-index-004
(we are also running on port 8080)

>From a bash shell on the remote linux server where solr is running, I tried 
>curl, I get "Failed to connect" and "Connection refused":

-bash-4.4$ curl sandbox-search-index-004:8080/solr/
curl: (7) Failed to connect to sandbox-search-index-004 port 8080: Connection 
refused

But I get a response if it use localhost instead:

-bash-4.4$ curl localhost:8080/solr/
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
http://www.w3.org/TR/html4/strict.dtd>
<html ng-app="solrAdminApp" ng-csp>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.  See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
...


I have limited access on this server.  The local IT guy provided this feedback:
"The firewall has the port open".
"It looks like it's misconfigured to listen locally and not on the hostname".

He also showed a telnet connection working to localhost, but not to the 
hostname.

$ telnet sandbox-search-index-004 8080
Trying 172.19.63.13...
telnet: connect to address 172.19.63.13: Connection refused

And netstat showing it is only listening on localhost:


# netstat -nap |grep 8080

tcp6       0      0 127.0.0.1:8080          :::*                    LISTEN      
1778220/java

#

Suggestions appreciated!
Jay

Reply via email to