[英]Elastic Search on Custom Port Number
I have tried by changing default port of elastic search by changing http.port no. 我尝试通过更改http.port no来更改弹性搜索的默认端口。 But is not worked out.
但是还没有解决。 I am using php elastic library.
我正在使用php弹性库。
Due to security reason default port on my website is block. 由于安全原因,我网站上的默认端口已被阻止。
Can any one suggest how i can proceed to run elastic search on my server. 谁能建议我如何继续在服务器上运行弹性搜索。
Thank You. 谢谢。
Did you try connecting via terminal ? 您是否尝试通过终端连接?
curl -XGET 'http://localhost:8080/_count?pretty' -d '
{
"query": {
"match_all": {}
}
}'
Replace your port instead of 8080. make sure you have installed curl in your system 更换端口而不是8080。 确保已在系统中安装curl
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.