[Interest] FortuneServer/client doesnt work across 2 different Devices
Henry Skoglund
fromqt at tungware.se
Fri Sep 2 16:38:18 CEST 2016
Hmm just guessing, but perhaps try switching your PC network from wired
to wireless (to the same Wi-Fi network that your phone is on).
Nilesh Kokane skrev den 2016-09-02 15:54:
> 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..!
>
More information about the Interest
mailing list