java.net.ConnectException: Timeout connecting to [localhost/127.0.0.1:9200]
异常
通常是因为未能访问到服务器的原因,可以检查一下elasticsearch是否已经启动或者端口是否配置正确。