How can allow only local requests for elasticsearch? 
So command like:

```
curl -XGET 'http://localhost:9200/twitter/_settings'

```

can only be running on localhost and request like:

```
curl -XGET 'http://mydomain.com:9200/twitter/_settings'

```

would get rejected?

Because, from what i see, elasticsearch allows it by default.

**EDIT:**

According to <http://www.elasticsearch.org/guide/reference/modules/network.html>
you can manage `bind_host` parameter to allow hosts. And by default, it is set to `anyLocalAddress`