Android wifi connection can receive data, gprs cannot, androidwifi
Android can obtain files on the network in WiFi, but not GPRS.
Cause:Static IP addresses must be used for access.
Example:When downloading files stored in Alibaba Cloud direct-line cloud acceleration, ip addresses are dynamically allocated, and data cannot be obtained in the GPRS network environment.
Extension:
1. Differences between dynamic IP addresses and static IP addresses
Dynamic IP addresses are provided by network providers and are randomly obtained each time they are used! That is to say, the IP address of your last Internet access is not necessarily the same as this time! The static IP address is the IP address that you need to set up in the local connection!
2. Why can't I obtain data from a dynamic ip address in the GPRS network, that is, it must be a public ip address?
Http://www.wzsky.net/html/Cisco/Wireless/57559.html
3. Why can I use a dynamic IP address to retrieve data in a Wi-Fi environment?
Reference URL:
1. http://www.oschina.net/question/239552_38454? Sort = time # answers