我是在Windows上啟動(dòng)的es,進(jìn)入到安裝包的bin目錄下之后,雙擊elasticsearch.bat文件,
啟動(dòng)日志報(bào)錯(cuò):could not delete old chunks for geoip database [GeoLite2-ASN.mmdb]org.elasticsearch.action.search. …
我是參考這位博主的思路,在配置文件中添加一行配置:
ingest.geoip.downloader.enabled: false
加上之后啟動(dòng)不再報(bào)錯(cuò),但是我的localhost:9200訪問(wèn)不通,于是參考了https://blog.csdn.net/qq_39940205/article/details/106849313,添加了文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-506748.html
network.host: 0.0.0.0
discovery.seed_hosts: ["0.0.0.0", "[::1]"],nethost
不過(guò),添加了還是不能訪問(wèn)9200端口,最后是通過(guò)修改xpack.security.enabled: true 為
xpack.security.enabled: false 之后就可以訪問(wèn)了。文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-506748.html
到了這里,關(guān)于ES啟動(dòng)報(bào)錯(cuò)和無(wú)法訪問(wèn)ip的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!