bug修复
This commit is contained in:
parent
bfbf1b721a
commit
3d4f839c04
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user