PDA

View Full Version : when trying to connect to local host getting connection refused error msg.



narlapavan
2nd August 2012, 18:22
i am trying to connect to host in this way
tcpSocket.connectToHost(QHostAddress::LocalHost,61 78)

but its throwing error message as connection refused .. why?

StrikeByte
3rd August 2012, 11:32
Do you have a server running at the port?
try telneting to the port and see what the result is