Reputation: 113
When I try curl -XGET 'http://localhost:9200' on my terminal it is working fine.
But, When I try http://localhost:9200/ or 127.0.0.1:9200/ on my browser it shows
How can I fix this problem ?
Upvotes: 3
Views: 9413
Reputation: 713
I understand it is too late to answer, but "late" is relative.
As you are using curl in virtual machine, where elasticsearch is running, it is returning result in terminal. But to see it in the browser of the parent OS, You need to do this:
:)
Upvotes: 4