Please format your code using </>
icon as explained in this guide. It will make your post more readable.
Or use markdown style like:
```
CODE
```
There is absolutely no code in the stacktrace coming from elasticsearch.
Connection refused
Is probably the important message here. Check if elasticsearch is running and if port 9200 is accessible from your machine.