Closed tsingheng closed 4 years ago
是否有办法获取到客户端IP?
可以啊
String ip = ((InetSocketAddress) clientChannel.localAddress()).getAddress().toString();
是否有办法获取到客户端IP?