I understand that this question is quite old, but I wanted to share how you can solve this problem.
- If you use local elasticsearch search
The first thing you need to do is run elasticsearch on your machine.
Error: Request error, retrying -- connect ECONNREFUSED 127.0.0.1:9200
, elasticsearch .
, .
.
.
node.js elasticsearch client, elasticsearch host 172.24.0.1.
container_name private IP of container docker-compose.yml, .