There are several things that come into play: - firewall (Microsoft, Symantec, ZoneAlarm,...) - the command line options you used to start client and server - your code (did you try other published network apps created with gamestudio?)
until we know more about your system, we can only guess blindly