Hi everybody, I am Tanmoy. I just wanna create a simple server-client chat application in C#. I have downloaded the source code from the link below:
http://www.codeguru.com/csharp/csharp/cs_network/sockets/article.php/c7695
If the server & client both in same PC everything is OK.
But if the client application tries to establish a connection to a the server application on a remote PC it fails to do so.
A messagebox show the following message:
A connection attemp failed because the connected party did not properly respond after a period of time or established connection failed because connected host has failed to respond 172.16.10.40:8000
what can I do? Please help me.
Daniel Innala AhlmarkPosted Oct 12, 2008, 8:20 AM
I recently went through the same situation myself. For me it turned out to be a network issue, and nothing wrong with my application.
If you are using the sample, and we assume it works correctly, then there might be a firewall issue or something.
A packet sniffer application like Wireshark could be useful. It was to me!
Good luck in troubleshooting this issue!
Regards,
Daniel