Elasticsearch報(bào)錯received plaintext traffic on an encrypted channel, closing connection Netty4TcpChannel{localAddress=/127.0.0.1:9300, remoteAddress=/127.0.0.1:65118, profile=default}
當(dāng)啟動Elasticsearch后,在瀏覽器輸入地址 http://localhost:9300
后,報(bào)錯
原因是Elasticsearch在Windows操作系統(tǒng)下開啟了ssl認(rèn)證認(rèn)證,雖然啟動成功,但訪問http://localhost:9300失敗。
解決方案:
找到config/目錄下面的elasticsearch.yml配置文件,把安全認(rèn)證開關(guān)從原先的true都改成false,實(shí)現(xiàn)免密登錄訪問即可,修改這兩處都為false后:
在點(diǎn)擊http://localhost:9200重新訪問,頁面就出來了
文章來源:http://www.zghlxwxcb.cn/news/detail-513391.html
這里啟動elasticsearch.bat的時候系統(tǒng)分配的端口是9300,但是無論如何都打不開,嘗試了使用9200就打開頁面了,有大佬知道為什么嗎文章來源地址http://www.zghlxwxcb.cn/news/detail-513391.html
到了這里,關(guān)于Elasticsearch報(bào)錯received plaintext traffic on an encrypted channel, closing connection Netty4TcpChann的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!