感谢您的帮助。
我下载了弹性搜索并在Mac的终端中,
它说状态是绿色的。
但是,如果我输入我的浏览器:localhost:9200,它在Firefox上说“连接已重置”,并且“此页面没有WorkingLocalhost在Chrome上没有发送任何数据”。
Kibana也正确下载了,我能够进入Localhost:5601没问题,我可以看到我应该看到的ES界面。
为什么我无法访问Localhost:9200?我在jupyter中尝试了这一点,并获得了错误的回报:

也许在状态从黄色变为绿色后不久,终端中有一个暗示?警告的代码行一直重复...
确实可以对此提供一些帮助,这是一个与ES的菜鸟,但真的想学习!谢谢你!
更新:@Sagar Patel这是我的YML文件的样子。绝对必须是引起问题的问题。 (如@fuzzy_logic提供的线程所建议的,我将网络主机切换为.0.0.0.0)。
thanks for your help.
I downloaded Elastic Search and in the terminal of my mac,
it says that the status is green.

But if I type in to my browser: localhost:9200 it says "the connection was reset" on Firefox and "This page isn’t workinglocalhost didn’t send any data. ERR_EMPTY_RESPONSE" on Chrome.
Kibana also downloaded correctly and I was able to get into the localhost:5601 no problem where I can see the ES interface I think I am supposed to see.
Why can't I access localhost:9200? I tried this in jupyter and got a false return:

Maybe there is a hint right here in the terminal shortly after the status changed from yellow to green? lines of code that say WARN keep repeating...

Could really use some help on this please, am a total noob with ES but really want to learn! Thank you!
UPDATE: @Sagar Patel Here is what my yml file looks like. Definitely has to be some issue in here that is causing the problem. (I switched my network host to .0.0.0.0 as suggested in the thread provided by @fuzzy_logic).


发布评论
评论(2)
tldr;
在您上次屏幕截图中,我们可以以下错误
...在HTTPS频道上收到的明文http流量,关闭连接...
您的elasticsearch似乎会期望
https
and不是http
修复
Tldr;
In you last screen shot we can the the following error
... received plaintext http traffic on an https channel, closing connection ...
Your Elasticsearch seems to be expecting
Https
and nothttp
To fix
我正在使用Windows平台。
尝试使用[https:// localhost:9200/] [1]而不是http:// localhost:9200以
获取更多详细信息,请检查此 https://stackoverflow.com/a/73842343/9947525
但
最好的解决方案是使用Elk Stack的Docker Image Image Image,这很容易下载,而不是下载麋鹿,然后在本地机器。
[1]:https:// localhost:9200/
I'm using the windows platform.
try to use [https://localhost:9200/][1] instead of http://localhost:9200
For more details kindly check this https://stackoverflow.com/a/73842343/9947525
But
the best solution is to use Docker Image of ELK stack which is easy instead of downloading the E L K and then run on the local machine.
[1]: https://localhost:9200/