[Interest] FortuneServer/client doesnt work across 2 different Devices

Nilesh Kokane nilesh.kokane05 at gmail.com
Fri Sep 2 15:54:46 CEST 2016


On Fri, Sep 2, 2016 at 7:20 PM, Reinhardt Behm <rbehm at hushmail.com> wrote:
> On Friday 02 September 2016 19:10:41 Nilesh Kokane wrote:
>> Hello,
>>
>> I'm trying to run fortuneServer(qt example) on my host PC and deploy
>> fortuneclient on the android phone. I made sure that they are in the
>> same network ( server : 192.168.0.3, client : 192.168.0.2) but then
>> client complains "connection timed out" and after some time I get
>> QAbstractSocket::ConnectionRefusedError (The connection was refused by
>> the peer..).
>>
>> And the same program works if I run the server/client on the same
>> machine. I conform that I have given the right port number, and the
>> servers IP(192.168.0.3) is given in the clients pgm (server Name)
>> part.
>>
>> Am i missing something? Any clue?
>
> Firewall ?

No..!

-- 
          Nilesh Kokane



More information about the Interest mailing list