Could not resolve host

Hello,

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?

thanks

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?

Thanks

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