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 ?
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:
:)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With