Getting Connection timed out error while re-indexing data from old cluster to new cluster.
curl: (28) Failed to connect to elasticsearchurl port 9200: Connection timed out
We are using curl command like this
curl -X POST "https://destination_cluster_url:9200/_reindex?pretty" -H 'Content-Type: application/json' -d'
{
"source": {
"remote": {
"host": "https://source_cluster_host:9200"
},
"index": "old_index"
},
"dest": {
"index": "new_index"
}
}
Do we need to make additional configuration??