TCP/IP Hates me and wants me to fail.
-
Hey All! :-D, Over the past coupla months I've read alot about TCP/IP and
System.Net.Sockets
etc and I made my own little server/client application. Simple. One connects the other listens and receives messages. All works fine on my end (testing). BUT, to my surprise, it never works on anybody elses computer. I give them the client, and I use my server to listen, and they can never end up connecting to my server. They always get a "Server took way way way too long to respond" and similar error messages. :-(. I tried reading a little more about it and nothing I had read helped solve the problem. So, I turned to my second best friend (Google) and found about 20 sample client/server applications that I downloaded and tested. They all worked perfectly on my own computer. But when I got friends to test, same old story... Couldn't connect. My friends have DSL Internet. Does this matter? Can anybody help shed a little light on this? I'd appreciate any help I can get on this. lots of thanks, jay
foreach( inch on Jason ) { Girlfriend.IsHappier(); }
-
Hey All! :-D, Over the past coupla months I've read alot about TCP/IP and
System.Net.Sockets
etc and I made my own little server/client application. Simple. One connects the other listens and receives messages. All works fine on my end (testing). BUT, to my surprise, it never works on anybody elses computer. I give them the client, and I use my server to listen, and they can never end up connecting to my server. They always get a "Server took way way way too long to respond" and similar error messages. :-(. I tried reading a little more about it and nothing I had read helped solve the problem. So, I turned to my second best friend (Google) and found about 20 sample client/server applications that I downloaded and tested. They all worked perfectly on my own computer. But when I got friends to test, same old story... Couldn't connect. My friends have DSL Internet. Does this matter? Can anybody help shed a little light on this? I'd appreciate any help I can get on this. lots of thanks, jay
foreach( inch on Jason ) { Girlfriend.IsHappier(); }
Are there firewalls in between blocking the connection?
*Developer Day Scotland - Free community conference Delegate Registration Open
-
Are there firewalls in between blocking the connection?
*Developer Day Scotland - Free community conference Delegate Registration Open
Well, I don't know if they are blocking the connection. But now that you've mentioned it. That must be the case since we're all using anti-virus software with their own Firewalls. I use ESET Smart Security. And my friends are using AVG and Norton's. Maybe there's a way to get around the firewall's without disabling them?
foreach( inch on Jason ) { Girlfriend.IsHappier(); }
-
Well, I don't know if they are blocking the connection. But now that you've mentioned it. That must be the case since we're all using anti-virus software with their own Firewalls. I use ESET Smart Security. And my friends are using AVG and Norton's. Maybe there's a way to get around the firewall's without disabling them?
foreach( inch on Jason ) { Girlfriend.IsHappier(); }
If it is a firewall issue, ensure that the port of your service is open on the firewall(s). You can also cheat and use a common port so long as you are not already using that service. e.g. If you don't have a web server installed on your computer you can use port 80 as firewalls typically keep that one open.
*Developer Day Scotland - Free community conference Delegate Registration Open
-
If it is a firewall issue, ensure that the port of your service is open on the firewall(s). You can also cheat and use a common port so long as you are not already using that service. e.g. If you don't have a web server installed on your computer you can use port 80 as firewalls typically keep that one open.
*Developer Day Scotland - Free community conference Delegate Registration Open