[WinSock] Can connect to localhost, can't connect to my IP

I'm getting error ID 10061 - WSAECONNREFUSED - No connection could be made because the target computer actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host—that is, one with no server application running.

HOWEVER when I use 127.0.0.1 or localhost dns, everything works fine, Im connecting to the ip from http://whatismyip.com/ with port 1337

any suggestions?
Last edited on
closed account (S6k9GNh0)
Firewall. Also, this is a Windows specific issue (given the name of the error).
when I port forward Im getting 10060 - timed out

ANY suggestion?

and no, it's not a firewall issue, I tried to turn it off

edit: and yes, I can ping the IP
Last edited on
closed account (13bSLyTq)
Hi,

Can you show me the Source code. It would help.
well, here you go, but u're gonna have a hard time I guess

lib source: http://pastebin.com/dL4z18nN
lib header: http://pastebin.com/YCeZ7E5R

client source: http://pastebin.com/5uUhpGP0
server source: http://pastebin.com/gCjDFdLy
Topic archived. No new replies allowed.