liujie
2026-04-16 f7c69ff053c6fcc9b19602e506e3248678ff1367
MessagePushTravel/src/main/java/com/sinata/push/util/echo/NettyServer.java
@@ -50,7 +50,7 @@
      /**
       * 获取即时通讯启动端口 
       */
      private Integer nettyPort = 9999;
      private Integer nettyPort = (Integer) 9999;
      @Override
      public void run() {
         EventLoopGroup bossGroup = new NioEventLoopGroup();
@@ -80,7 +80,7 @@
            // 服务器绑定端口监听
            ChannelFuture f = bootstrap.bind(nettyPort).sync();
            if(f.isSuccess()) {
               System.out.println("******************************Netty启动成功******************************");
               System.out.println("******************************Netty启动成功司机******************************");
            }
            // 监听服务器关闭监听
            f.channel().closeFuture().sync();