0
我正在運行SolrCloud示例,Solr 5.4與Zookeeper 3.5.2 alpha。雲計算正在運行,但我得到這個錯誤:Solr試圖連接到不同的外部服務器IP
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
然後當我嘗試刪除收集與
./solr delete -c gettingstarted
我得到了錯誤,說刪除收集連接到104.239.213.7,而不是本地主機,當然不連接。錯誤:
Deleting collection 'gettingstarted' using command:
http://104.239.213.7:8983/solr/admin/collections?action=DELETE&name=gettingstarted
ERROR: Connection refused (Connection refused)
我不知道發生了什麼,或者我怎麼會改變這種錯誤的IP,help..thank你
IP是您計算機上的外部IP嗎? (只是想確定它來自哪裏) – MatsLindh
我修正了它。是的,IP是某處的外部IP ..謝謝 –