Unexpected driver error occurred while connecting to the database Cannot POST address http://192.1

Unexpected driver error occurred while connecting to the database Cannot POST address http://192.1_第1张图片

 如何解决这个报错的,

--查找对应目录
find / -iname   elasticsearch.yml


--
cd /usr/local/elasticsearch/config/


cat  elasticsearch.yml



vim  elasticsearch.yml



systemctl restart elasticsearch

 Unexpected driver error occurred while connecting to the database Cannot POST address http://192.1_第2张图片

 修改IP为192.168.56.115 变可成功

检查ES是否启动成功:http://192.168.56.115:9200/?pretty

Unexpected driver error occurred while connecting to the database Cannot POST address http://192.1_第3张图片

执行命令:ps -ef | grep elasticsearch

Unexpected driver error occurred while connecting to the database Cannot POST address http://192.1_第4张图片

 Unexpected driver error occurred while connecting to the database Cannot POST address http://192.1_第5张图片

 Unexpected driver error occurred while connecting to the database Cannot POST address http://192.1_第6张图片

 Unexpected driver error occurred while connecting to the database Cannot POST address http://192.1_第7张图片

 Unexpected driver error occurred while connecting to the database Cannot POST address http://192.1_第8张图片

  • 启动Kibana 进入Dev Tools界面,其中的“开发工具”即我们后面会经常使用的 DevTool ,

Unexpected driver error occurred while connecting to the database Cannot POST address http://192.1_第9张图片

ElasticSearch学习--Kibana汉化及DevTool的使用-百度经验

Kibana 开发工具(Dev Tools) --- 2022-04-03 - 简书

es的基本原理和操作文档_wwyh520的博客-CSDN博客

你可能感兴趣的:(数据库,jenkins,运维)