Is it an option to run the XMPP server on port 80?

Or perhaps just set up a test server on port 80 to explore the hypothesis 
that this will resolve the problem?

Alternatively, you could also create a proxy that runs on port 80 and acts 
as an intermediary.


Thanks.



On Wednesday, April 17, 2013 9:20:27 AM UTC-5, Long wrote:
>
> I am connecting to tcp port 5222 which provides xmpp service
>
>
> On Tue, Apr 16, 2013 at 12:00 AM, bob <b...@coolfone.comze.com<javascript:>
> > wrote:
>
>> What port number are you using on the server?
>>
>>
>> Maybe use *port* *80* as it is more open?
>>
>>
>> Thanks.
>>
>>
>>
>> On Saturday, April 13, 2013 5:35:13 AM UTC-5, Long wrote:
>>>
>>> Hi Developers, 
>>>     I have an background service which connects my server with a TCP 
>>> connection.
>>>     My background service sends a ping packet to my server every 
>>> 4minutes to keep the socket alive.
>>>    The problem is that the device can not get the packet from the server 
>>> after a short time(3 seconds from my test) after the ping is sent. 
>>>    This app works fine on other networks(AT&T, verizon). 
>>>  
>>>    The strange thing is that if I force the device to connect to 3G(EVDO 
>>> revision A), it works fine.
>>>  
>>>    It seems to me that, on Sprint 4G network, when an app sends a packet 
>>> through a tcp socket, and then the socket is idle for
>>> several seconds, then the app will never be able to receive packets from 
>>> this socket.
>>>    
>>>    I don't think it's related to the 4G signal, since this issue can be 
>>> reproduced every time.
>>>
>>>    Any suggestions?
>>>
>>>  
>>>    
>>>   
>>>    
>>>     
>>>
>>  -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> android-d...@googlegroups.com<javascript:>
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Android Developers" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/android-developers/3FvPZp5n2K0/unsubscribe?hl=en
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> android-developers+unsubscr...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Things don' happen. Things are made to happen. 
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to