elasticsearch ?啟動報錯:received plaintext http traffic on an https channel, closing connection Netty4HttpChannel。
現(xiàn)象,當(dāng)啟動Elasticsearch后,在瀏覽器輸入地址 http://localhost:9200/
后,報錯
received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/127.0.0.1:9200, remoteAddress=/127.0.0.1:52077}
如圖:
解決方案:
找到config/目錄下面的elasticsearch.yml配置文件,把安全認證開關(guān)從原先的true都改成false,實現(xiàn)免密登錄訪問即可,修改這兩處都為false后:
即可解決問題,再次打開http://localhost:9200/
就正常顯示內(nèi)容了:
?文章來源地址http://www.zghlxwxcb.cn/news/detail-595023.html
?文章來源:http://www.zghlxwxcb.cn/news/detail-595023.html
?
到了這里,關(guān)于Elasticsearch 啟動報錯:received plaintext http traffic on an https channel, closing connection Netty4Ht的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!