I am running the application on a VM and ES is running on host OS on
localhost:9220 and virtual accesses the host OS on
9220 as ES is running on this address. But the application gives a connection timeout error. What could be the reason?
The full code is available here.