Pu Zhibing
2025-05-20 fdbe0d4a103091bcdeca0eab86008b534934a2d5
ZuulOKTravel/src/main/java/com/sinata/zuul/util/applets/NettyServer0.java
@@ -64,7 +64,7 @@
            // ChildChannelHandler 对出入的数据进行的业务操作,其继承ChannelInitializer
            b.childHandler(new ChildChannelHandler());
            System.out.println("服务端开启等待客户端连接 ... ...");
            Channel ch = b.bind(9090).sync().channel();
            Channel ch = b.bind(8888).sync().channel();
            ch.closeFuture().sync();
         } catch (Exception e) {
            e.printStackTrace();