0

I have tried by changing default port of elastic search by changing http.port no. But is not worked out. I am using php elastic library.

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.

Manoj Chowrasiya
  • 970
  • 1
  • 13
  • 32

1 Answers1

0

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