看B通过什么方式获得A的IP的,如果是getpeeername就没法子了
【 在 zyw123 的大作中提到: 】
: 从服务器A 访问服务器B, 服务器B读服务器A的ip地址,这时候如何将服务器A的ip模拟
: 一个手机ip地址,而不是实际的服务器A地址。
: public static String sendWithIP(String url,Map<String,String> map,String
: encoding,String ip) {
: CloseableHttpResponse response = null;
: ...................
--
FROM 119.139.197.*