【发布时间】:2012-08-26 16:54:48
【问题描述】:
为什么我得到一个不同的 ip 使用:
Getting the IP address of the android device when connected to 3G mobile network
我通过访问 whatismyip.com 进行操作,有没有办法获得“真实 ip”。
我看到的两个ip之间的区别是发送UDP包到whatismyip.com的ip比android提供的ip快得多。
我还在 logcat 中看到 whatismyip.com 的 IP 地址正在被其他服务找到:
I/pppd (3178):本地 IP 地址 107.52.xxx.xxx
I/pppd(3178):远程IP地址66.1.xxx.xxx
所以一定有办法......或者其他一些服务正在从某个网络服务获取 ip
【问题讨论】:
标签: android networking