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

Reinhardt Behm rbehm at hushmail.com
Fri Sep 2 15:50:25 CEST 2016


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 ?





More information about the Interest mailing list