longz
2026-06-30 80fd77e1bcb47726e440b8a728838189cd39a56a
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();