2016-11-08 9 views
0

私はSolrCloudの例Solr 5.4をZookeeper 3.5.2 alphaで実行しています。 、私はコレクションを削除すると、localhostの代わりに104.239.213.7に接続しているというエラーを得たSolrが別の外部サーバIPに接続しようとしています

./solr delete -c gettingstarted 

でコレクションを削除しようとすると、その後

ERROR: Error from server at http://localhost:8983/solr: Expected mime type application/octet-stream but 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 by Jetty://</small></i><hr/> 

</body> 
</html> 

SolrCloud example running, please visit: http://localhost:8983/solr 

:クラウドが実行されているが、私はこのエラーを得ましたもちろん接続していません。エラー:

Deleting collection 'gettingstarted' using command: 
http://104.239.213.7:8983/solr/admin/collections?action=DELETE&name=gettingstarted 

ERROR: Connection refused (Connection refused) 

私は何が起こっているか分からない、またはどのように私はこの間違ったIPを変更することができ、あなたの

+0

あなたのコンピュータ上のIPは外部IPですか? (ちょうどそれがどこから来るかを決めることを試みる) – MatsLindh

+0

私はそれを修正した。はい、IPはどこかの外部IPです。ありがとうございます –

答えて

0

をhelp..thank私が編集し、それを変更するには、これは桟橋のデフォルトのサーバーです判明solr.in.shのSolrサーバのディレクトリ内のファイルおよび追加の2行:あなたが好きなサーバーIPへ

SOLR_OPTS="192.168.1.1" 
SOLR_OPTS="$SOLR_OPTS -Djetty.host=192.168.1.1" 

変更192.167.1.1、私の場合は、localhost

にそれを変更しました
関連する問題