From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 09 六月 2025 11:54:00 +0800
Subject: [PATCH] 6.9新增登录失败冻结逻辑

---
 springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/netty/NettyServer.java |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/netty/NettyServer.java b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/netty/NettyServer.java
index 6b51b5f..21ae8f0 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/netty/NettyServer.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/netty/NettyServer.java
@@ -15,7 +15,6 @@
 @Slf4j
 public class NettyServer {
     private static final Integer port=20012;
-    private static final String host="47.104.148.185";
     public void start() {
         //new 一个主线程组
         EventLoopGroup bossGroup = new NioEventLoopGroup(1);
@@ -31,7 +30,7 @@
                 .childOption(ChannelOption.SO_KEEPALIVE, true);
         //绑定端口,开始接收进来的连接
         try {
-            ChannelFuture future = bootstrap.bind(host,port).sync();
+            ChannelFuture future = bootstrap.bind(port).sync();
             log.info("服务器启动开始监听端口: {}", port);
             future.channel().closeFuture().sync();
         } catch (InterruptedException e) {

--
Gitblit v1.7.1