java没法链接本地elasticsearch的一个bug

private static String host = "192.0.0.1";node 本地地址不能写成127.0.0.1 应该写成localhost 不然报错static [None of the configured nodes are available: [{#transport#-1}{eMCQZdrcSf-RrmRw3fcjTQ}{192.0.0.1}{192.0.0.1:9300
相关文章
相关标签/搜索