Connection problems
Hi. I'm having a bit of trouble with my Winsock basic chat program that I wrote as a test of my new network system. I am pretty sure my code is right, because I can connect to myself and also through another computer I own, but whenever I get somebody long distance to connect to me, the Winsock return errors are either WSATIMEDOUT, or WSACONNREFUSED. Does anyone know why this might be? After reading the FAQ, I assume the problem might be that the ip address I give to people isnt the right one, because of router problems. However, we have tried many different ip's, such as the one from my network connections, one from www.whatismyip.com, etc. Any help would be appreciated.
Most likely, you need to set up port forwarding in your router.
Basically, you need to tell the router that any incoming packets addressed to a specific port (which one depends on your application), needs to get forwarded to your PC.
http://www.portforward.com/ should have all the information you could ever need :)
You might also need to set up your firewall to allow the packets though.
Basically, you need to tell the router that any incoming packets addressed to a specific port (which one depends on your application), needs to get forwarded to your PC.
http://www.portforward.com/ should have all the information you could ever need :)
You might also need to set up your firewall to allow the packets though.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement