How can others connect on my AHKsocket winsock server? External IP?

354 views Asked by At

Using AHKsock (AutoHotkey), I built a minimalistic client-server system with AHKsock_Connect, AHKsock_Send and AHKsock_Listen on both sides to communicate with each other. It works and I can send messages back and forth, if I connect to the server using localhost.

But I want the server to be accessible from everywhere. Shouldn't this be possible using my "external IP" which I can see @ whatIsMyIP.com? Whenever someone tries to connect to the server on my computer, his/her connection will timeout/not work.

What is the IP of my server? How can others connect to it from anywhere? I assume there must be a simple solution to it, because the software itself seems to work: As stated above, connecting from the same computer to localhost will work.

Any help is much appreciated.

1

There are 1 answers

0
phil294 On BEST ANSWER

Did you forward the appropriate ports in your router/firewall? The IP should be correct.

This was the solution, I did something wrong in my router