Unsolved TCP Connection error: QAbstractSocket::ProxyConnectionTimeoutError
-
Hi guys,
I use QTcpSocket to do the connection, it runs well in the other PCs, but recently a remote user reports the error when connecting: "QAbstractSocket::ProxyConnectionTimeoutError".
The PC and Device's IP was in the same segment. PC can ping Device successfully.
I wonder why the app reports this error when doing a connection?
Thanks. -
Because the proxy settings are wrong on this computer.
-
This post is deleted! -
@Christian-Ehrlicher Thanks for the reply, I'll let the customer check about it.
-
If you don't need a proxy and want to make sure that your app does not use a proxy setting from the OS add
QNetworkProxy::setApplicationProxy(QNetworkProxy());
in your main.cpp