EunsooD

Curl -X GET ‘http://localhost:9200’ curl: (52) Empty reply from server 본문

STUDY/ElasticSearch

Curl -X GET ‘http://localhost:9200’ curl: (52) Empty reply from server

EunsooD 2024. 2. 1. 13:44
반응형

ES 세팅 후 제대로 실행되고 있나 접근해보려고 했는데,

 

Curl -X GET ‘http://localhost:9200’
curl: (52) Empty reply from server

 

이렇게 에러가 났다.

 

좀 구글링 해보니,

세팅에서 xpack을 끄면 된다고? 해서 해보니 해결 되었음

 

I am using the 8.7 version
installed through curl command
I put "xpack.security.enabled: false" in elasticsearch.yml file and it worked, may I know this is the correct solution.
Thanks

 

출처 : https://discuss.elastic.co/t/curl-x-get-http-localhost-9200-curl-52-empty-reply-from-server/329211/2

반응형
Comments