一、报错截图
二、报错代码
[2022-12-29T20:15:12,115][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58029}
[2022-12-29T20:15:12,115][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58028}
[2022-12-29T20:15:12,116][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58030}
[2022-12-29T20:15:13,149][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58031}
[2022-12-29T20:15:13,154][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58032}
[2022-12-29T20:15:13,156][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58033}
[2022-12-29T20:15:18,178][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58034}
[2022-12-29T20:15:18,181][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58035}
[2022-12-29T20:15:20,889][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58036}
[2022-12-29T20:15:20,891][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58037}
[2022-12-29T20:15:50,909][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58069}
[2022-12-29T20:15:50,913][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58070}
三、问题描述
ElasticSearch服务正常启动,但是在浏览器上无法访问http://localhost:9200
四、错误原因
ElasticSearch默认开启了安全认证,需要将安全认证关掉