jetty - Solr is trying to connect to different external server IP -
i'm running solrcloud example, solr 5.4 zookeeper 3.5.2 alpha. cloud running got error :
error: error server @ http://localhost:8983/solr: expected mime type application/octet-stream got text/html. <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>error 404 not found</title> </head> <body><h2>http error 404</h2> <p>problem accessing /solr/gettingstarted/config. reason: <pre> not found</pre></p><hr><i><small>powered jetty://</small></i><hr/> </body> </html> solrcloud example running, please visit: http://localhost:8983/solr
then when try delete collection
./solr delete -c gettingstarted
i got error saying deleting collection connecting 104.239.213.7 instead of localhost, doesn't connect of course. error :
deleting collection 'gettingstarted' using command: http://104.239.213.7:8983/solr/admin/collections?action=delete&name=gettingstarted error: connection refused (connection refused)
i don't know what's happening, or how change wrong ip, help..thank you
i found out jetty default server, change it, edit solr.in.sh file in solr server directory , add these 2 lines :
solr_opts="192.168.1.1" solr_opts="$solr_opts -djetty.host=192.168.1.1"
change 192.167.1.1
whatever server ip like, in case changed localhost
Comments
Post a Comment