07 2018 档案
摘要:localhost与127.0.0.1的区别是什么? 相信有人会说是本地ip,曾有人说,用127.0.0.1比localhost好,可以减少一次解析。 看来这个问题还有人不清楚,其实这两者是有区别的。 localhost也叫local ,正确的解释是:本地服务器 127.0.0.1在windows等
阅读全文
摘要:1 发现问题 NIO编程中服务端会出现报错 主要原因是客户端强制关闭了连接(没有调用SocketChannel的close方法),服务端还在read事件中,此时读取客户端的信息时会报错 2 解决问题 服务器读取事件增强健壮性: 待验证 原贴地址:http://www.myexception.cn/p
阅读全文
摘要:[2018-07-31T14:29:41,289][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [9rTGh-y] caught exception while handling client http traffic, closing
阅读全文
摘要:转自:https://lunatictwo.github.io/2017/12/21/Eleaticsearch%E6%BA%90%E7%A0%81%E5%88%86%E6%9E%90(%E4%B8%80)%E7%BC%96%E8%AF%91%E5%90%AF%E5%8A%A8/ 源码下载 地址:h
阅读全文
摘要:https://blog.csdn.net/whb3299065/article/details/80104323
阅读全文
摘要:一 es 基本操作 查看所有的索引文件: curl -XGET http://localhost:9200/_cat/indices?v 二 挂crontab定时删es数据 三 logstash 安装multiline /bin/logstash-plugin.bat install logstas
阅读全文