java无法连接本地elasticsearch的一个bug
private static String host = "192.0.0.1";
本地地址不能写成127.0.0.1 应该写成localhost 否则报错
[None of the configured nodes are available: [{#transport#-1}{eMCQZdrcSf-RrmRw3fcjTQ}{192.0.0.1}{192.0.0.1:9300}]]...
原创
2018-10-10 13:37:20 ·
1349 阅读 ·
3 评论