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

Nilesh Kokane nilesh.kokane05 at gmail.com
Fri Sep 2 15:40:41 CEST 2016


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?


-- 
          Nilesh Kokane



More information about the Interest mailing list