Curl: (7) failed to connect

Please format your code using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

Please edit your posts.

Anyway your server is listening here on 127.0.0.1:9200. So the only way to access it is locally with curl 127.0.0.1:9200/.

If you want to be able to access it from another machine, then you need to configure properly what @warkolm told you