Could not resolve host


One of the training in the documentation is bulk upload a Json file named account to the elasticsearch.

im running this command as written

curl -XPOST 'localhost:9200/bank/account/_bulk?pretty&refresh' --data-binary "@accounts.json"

and im always get curl error saying "curl: (6) Could not resolve host: 'localhost"

anyone knows why?


What OS are you on?

Windows server 2012 R2

Can you ping localhost?

it look like i can ping but no IP shown

Hi, you think you can help me with that?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.