Curl -X GET http://localhost:9200 is working BUT not http//127.0.0.1:9200

To use network.host : 0.0.0.0 requires additional settings perhaps take a look at this post