.net - Error 10061 while trying to connect to my own computer -
I'm just testing some basic networking code written in Visual C ++. I have Client app and a server app Whatever is not fancy because I'm just testing - Basically, the client sends ASCII-encoded string to the server and the server sends it back to all caps.
When I run both programs on my computer, everything is fine, if I set the client to connect to the local host or 127.0.0.1. However, if I use my network IP (192.168.1. Anyway) I get the error 10061, that the host actively refused the connection.
I disabled my firewall and did not change this behavior, so I'm not sure what's actually happening. I think if there is a firewall hardware on the router, then it's local form Should not be affected after living from.
Ensure that your server is not bound to a specific IP address;
If it does not solve the problem, then run the server and netstat -a
Comments
Post a Comment