Title
摘要: 添加TCP配置 stream{ upstream tcpstream{ hash $remote_addr consistent; server 127.0.0.1:4000 max_fails=3 fail_timeout=10s; } server{ listen 80; proxy_conne 阅读全文
posted @ 2022-09-08 18:56 快乐小洋人 阅读(1301) 评论(0) 推荐(0)
摘要: 导包 <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> </dependency> 服务监听器 package com.zl.netty; import io.netty.bootstrap.Ser 阅读全文
posted @ 2022-09-08 18:36 快乐小洋人 阅读(2129) 评论(0) 推荐(0)