Hi,
do you know why my application works fine on android 2.3.5 using mobile connection vhen getting data from server in JSON format. Now when my phone get version 4.0.3 (ICS) OS my application can't work if not on WiFI ... mobile netvork (3g .. or similar) fails parse JSON.
Work fine on WiFi .. not works on mobile connection.
I get "The connection was refused by the host" ERROR.
My srver is on static IP not on register domain.
Nice day, Matej
1 Answer
Hi, I had similar problems with my app. Simple app with DefaultHttpClient connection to a server at port 8081. Works fine over WiFi on 2.2.1, 3.5, 4.0.3 and 4.0.4m but when using 3G network only works on 2.2.1, 3.5. For 4.0.3 and 4.0.4 I get >>connection refused by the host<<. I solved the problem with deleting ip address of Proxy server in my APN settings for mobile network and 4.0.4 started to receive data. (I am using Si.mobil network). By the way: If I used port 8080 for server it worked fine on all platforms on 3G or WiFI.
Your Answer
Think you can help? Login to answer this question!