I'm in the process of making an online game in MooSock, (for flexibility/speed) and I can't seem to connect to the server from the client over the Internet. Using "localhost" or "127.0.0.1" works, however when I use my Internet IP it doesn't connect for some reason :s I've tried disabling my firewall..
I've run into the same issue as well and have not figured out a permanent way around it at this stage... I have however discovered a temporary measure which allows myself and friends of mine to test the game over internet TCP/IP.
1. Download and install Hamachi
2. Create a server and note the IP address
3. Use this IP address to connect to as a "host"
4. Get your friends on Hamachi as well and give them your game
5. You should all now be able to connect and test it out
If anyone knows the proper solution to this issue I would also like to know... any information will be a big help and much appreciated.
Thanks for the reply... I just tested it on a friends computer and it works fine. Someone said it has something to do with the NAT on my router or something..:s
I tried messing around with NAT (port forwarding) on my router to no avail... I put in the IP addresses of not only the host IP, but also my friends IP address and we still got nowhere...
I "think" it's more to do with the way the ISP supplies your IP address... it may only work if you subscribe to a static IP? I'm still not really sure on this. The game I am working on is mainly for LAN or Hamachi anyway, it's not really designed to be a random massive multiplayer game so small local networking is OK for me. I kinda gave up on the whole MMO thing after stuffing around with Moo for about a week and getting nowhere with it.