bug修复

This commit is contained in:
guo 2024-01-11 18:42:31 +08:00
parent bfbf1b721a
commit 3d4f839c04

View File

@ -41,9 +41,9 @@ public class UDPServerApp {
}
});
try {
Channel channel = bootstrap.bind("127.0.0.1", port).sync().channel();
Channel channel = bootstrap.bind(port).sync().channel();
//channel.closeFuture().sync().await();
log.info("启动udp成功……");
log.info("启动udp成功端口{}", port);
} catch (Exception e) {
log.error("udp启动err:", e);
}