![](/img/trans.png)
[英]Elasticsearch newbie: Integrating with Rails and localhost:9200
[英]Elasticsearch - '127.0.0.1:9200' and 'localhost:9200' are unable to connect on the browser
当我在终端上尝试curl -XGET'http :// localhost:9200 '时,它工作正常。
但是,当我在浏览器上尝试http:// localhost:9200 /或127.0.0.1:9200/时,它会显示
我该如何解决这个问题?
我知道现在回答还为时已晚,但是“迟到”是相对的。
当您在运行Elasticsearch的虚拟机中使用curl时,它将在终端中返回结果。 但是要在父操作系统的浏览器中查看它,您需要执行以下操作:
:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.