LaurentDuroisin
3rd January 2016, 10:36
Hi, I've configured a public hostname on no-ip, and then configured my box to redirect the port.
I've also configured the firewall to accept that connection.
But Qt is cutting the connection :
socket->connectToHost("monsite.ddns.net", 80); // On se connecte au serveur demandé
I've started to listen on that port :
serveur = new QTcpServer(this);
if (!serveur->listen(QHostAddress::Any, 50885))
Why is the Qt server cut the connection ?
I've also configured the firewall to accept that connection.
But Qt is cutting the connection :
socket->connectToHost("monsite.ddns.net", 80); // On se connecte au serveur demandé
I've started to listen on that port :
serveur = new QTcpServer(this);
if (!serveur->listen(QHostAddress::Any, 50885))
Why is the Qt server cut the connection ?