chudk пре 7 година
родитељ
комит
096f8b660e

+ 1 - 0
src/main/java/com/tidecloud/dataacceptance/service/impl/WatchServerHandler.java

@@ -60,6 +60,7 @@ public class WatchServerHandler extends ChannelInboundHandlerAdapter {
     public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception {
         ByteBuf byteBuf = (ByteBuf)msg;
         String str = byteBufferToString(byteBuf.nioBuffer());
+        logger.info("上传数据:", str);
         try {
             reply(ctx, str);
         } catch (Exception e) {

+ 2 - 2
src/main/resources/application.yml

@@ -10,8 +10,8 @@ spring:
     maxWaitMills: 10000
 server:
   netty:
-    port: 7009
-  port: 14001
+    port: 7510
+  port: 16666
   localaddress: 10.27.118.76
 logging:
   config: