您当前的位置: 首页 >  大别山码将 ar

ES报错:NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{-TwgnvhpS

大别山码将 发布时间:2021-04-07 11:44:24 ,浏览量:4

ES报错:NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{-TwgnvhpSSGjrNDQ9_SSTw}{127.0.0.1}{127.0.0.1:9300}] ES无法远程连接到服务器(9300)

  • ES报错:NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{-TwgnvhpSSGjrNDQ9_SSTw}{127.0.0.1}{127.0.0.1:9300}] ES无法远程连接到服务器(9300)
      • 环境
      • 问题
      • 解决:

ES报错:NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{-TwgnvhpSSGjrNDQ9_SSTw}{127.0.0.1}{127.0.0.1:9300}] ES无法远程连接到服务器(9300)

环境

Win10
IDE 2.3.0
Elasticsearch 6.7.0

问题

编写Elasticsearch测试用例:

程序执行报错:

解决:

仔细观察ES启动信息发现端口是9200



ES默认端口是9300,写时还是用9300

重启程序:

解决!!!

关注
打赏
查看更多评论

大别山码将

暂无认证

  • 4浏览

    0关注

    69博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录