Unsolved QTcpserver issue on a remote machine
-
I am crating two applications..One for server using QTcpServer and another one is for client application.I have implemented incomingconnection() on the server part and multi threading for each connection to perform the actions after receiving the data.
It is working on local host .The client is able to send data from client application to the server application using portaddress and portnumner.
when I run the server application on a different machine, it is not making the connection with client even after entering the server hostaddress and the port number from client application.Any idea whether the firewall or antivirus are making any issue for sending the data from client to server
thanks in advance
-
Hi
Well if you are on windows 10, then yes.
The firewall will most likely block it.Easy to test.
simpy do
NetSh Advfirewall set allprofiles state off.
in elevated prompt to test.if it then works, you have to add your app to the allowed list in the firewall.