Portal Home > Knowledgebase > Articles Database > My server query script just *stopped* working


My server query script just *stopped* working




Posted by Joe_Dean, 01-16-2009, 03:16 AM
I have a script implemented into my forum templates which connects to a gaming server and returns various information about the server (number of players, etc). The script was working fine until one day it just started saying my game server was offline when it's really not. The script remains unchanged and my webhost claims they haven't disabled anything that would prevent this script from executing successfully (hence making a successful connection and returning information about the game server). I contacted the developer of this query script and he basically blew me off and said he no longer provides support for scripts if I'm not one of his clients. He posted the script on a public forum just giving it out to people, in my opinion he should continue giving support but that's beyond the scope of this topic. Anyways, I was wondering if someone could just take a look at the script. Make sure it's scripted properly and there isn't anything that could cause an error. Also maybe tell me what the script uses that my host MAY have disabled in the server config. The query script: lvrcr.com/script.php.txt I wasn't sure if having this would help, but I added a phpinfo file to my server just in case anyone would like to look: lvrcr.com/phpinfo.php Any help is much appreciated. I'm tearing my hair out trying to get to the bottom of this. Thanks, Joe

Posted by ThatScriptGuy, 01-16-2009, 03:54 AM
My guess is that your host has closed port 4800 in their firewall.

Posted by Joe_Dean, 01-16-2009, 02:35 PM
Yeah, I asked them about that and they said that the port is open. :/ Thanks for the reply.

Posted by Joe_Dean, 01-16-2009, 02:41 PM
Although, this site claims the port on the server is not open: webtools.************.com/nt_cport.php Port: 4800 IP: 65.98.14.106 I guess I'll try asking them again.

Posted by foobic, 01-16-2009, 07:40 PM
Although, this site claims the port on the server is not open:Are you checking the gameserver or the hosting server with this? On the hosting server it's very likely that 4800 will be blocked ingoing, but that tells you nothing about whether your script should work because that's attempting to make an outgoing connection. Firewalls block ingress and egress with completely separate rules. Another possibility is that the gameserver is refusing connections from your hosting server. You could try the script on another computer, eg. your home PC.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read