-
Client/Server problem
I just made a simple server/client application using Qt but I cant connect the client to the server if it is not on my machine... Using 127.0.0.1 or my IP works, but when I try to connect the client from another machine to the server in my machine, simply does not work.... Its actually a chat, and when I ask another person to connect to my IP address using the client, it does not connect...
I have already made this kind of thing many times before, and even a similar program about a year ago using C#... It follows the same rules, but simply does not work....
Any advice would be appreciated... Tell me if you need to see the code
-
Does your computer have its firewall enabled - that's the likely problem.
-
Perhaps some analysis with wireshark will show you where it's going wrong.
As would adding error checks to ALL network functions, and printing out what they return on error.
-
When I talked about the C# application, I thought about using it to see if something was wrong with my network config, because it should work normally, but it didnt... So now its kinda obvious that there is some problem with my network, firewall or whatever...
I'll try wireshark, but I dont have many clues about what could be wrong... Im not very experienced with network programming, just enough to create server/client applications
thanks for the help