我對elasticsearch非常陌生。使用SSH,我已經能夠通過bin/elasticsearch運行它,如果我運行curl localhost:9200,我可以看到詳細信息並確認它正在運行。此外,我已經安裝了Marvel和Head,但我不確定如何從瀏覽器訪問這些GUI。訪問elasticsearch時遇到問題
該文檔說瀏覽到localhost:9200/_plugin/marvel,但顯然在我們的實時服務器上這不起作用。我嘗試用我的服務器IP替換localhost,但我什麼也沒得到。我錯過了什麼嗎?
針對Drew R.最新版本已安裝,並且在安裝後通過shutdown api重新啓動。
須藤IP表確實產生了很多降導致的,但我不能讓那(This policy will halt a connection to a host without any communication unless there is a target rule that applies.)
curl -vv server:9200/_plugin/marvel
回到常識:
* About to connect() to server port 9200 (#0)
* Trying 50.28.35.72... connected
* Connected to server (50.28.35.72) port 9200 (#0)
> GET /_plugin/marvel HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: server:9200
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Content-Type: text/html
< Content-Length: 74
<
* Connection #0 to host server left intact
* Closing connection #0
<head><meta http-equiv="refresh" content="0; URL=/_plugin/marvel/"></head>[[email protected] /usr/share/elasticsearch]# url -vv server:9200/_plugin/marvel
感謝您的回覆。請參閱我的編輯。 – psorensen
上面的重定向意味着你可以驚歎自己好。你在瀏覽器中看到什麼? *「上面的意思是什麼? – drewr
9200港口已關閉。我已經打開它,現在一切正在工作。非常感謝您的幫助。 – psorensen