Support Forums

Full Version: Can't connect to program across network
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This probably belongs here, but possibly in the Network section . . . not sure yet.

I wrote a small C++ program that uses sockets. You can either use the client version and connect [from the same PC or another one on the LAN], or you can Telnet or PuTTY to the "server."

The client sends data, and the server [for now] just outputs what the client says to the screen.

I can connect from another PC on the same LAN, but I cannot connect from anywhere else on the Internet. I opened the port on my router, and http://www.canyouseeme.org verifies that the port is open, but when I try to connect to my WAN IP it gives me an error about not being able to bind to the socket (basically, it can't connect).

If anyone would like to help me troubleshoot this [especially if you've done something like this before], please let me know! [Reply in the thread first . . . I generally don't check PMs]