Could not resolve host


(Shahar Zion) #1

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


(Mark Walkom) #2

What OS are you on?


(Shahar Zion) #3

Windows server 2012 R2


(Mark Walkom) #4

Can you ping localhost?


(Shahar Zion) #5

it look like i can ping but no IP shown


(Shahar Zion) #6

Hi, you think you can help me with that?

Thanks


(system) #7

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