Closed Thread
Results 1 to 8 of 8

Thread: Dedicated server status script (fsockopen)

  1. #1
    g-s36581 is offline x10Hosting Member g-s36581 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    4

    Dedicated server status script (fsockopen)

    Dear X10 Support,

    First of all, I want to thank you for this awesome host experience.
    But I have a little problem. Yesterday I written a PHP script to check the Offline | Online status of my Call of Duty dedicated server. My script uses PHP’s fsockopen function and it’s working perfectly on my local WAMP server. So I decided to upload the script on my website (http://thahood.tk/server_status2.php), but it seems to always show the offline status.
    I’ve done some research and I found this topic: http://x10hosting.com/forums/free-hosting/23431-fsockopen-i-need-function.html . It seems I’m having the same problem like pocho_m.
    I also REALLY need this function in my website, because I’m planning to make a RCON system for all Call of Duty games.
    In the forum topic, one of the last reactions was a reply from Corey. He said he could add pocho_m’s
    IP to the firewall, so his script would work.

    So my question is, would it also be possible to add my IP to your firewall?
    Here is some info:
    MY IP: 81.165.84.185
    PORT: TCP 28961 (Common Call of Duty multiplayer port : http://portforward.com/cports.htm)

    Thanks for reading this,
    gs365 (PHP Developer)

  2. #2
    callumacrae's Avatar
    callumacrae is offline not alex mac callumacrae is just really nice
    Join Date
    Dec 2007
    Location
    Wellesbourne, England
    Posts
    5,161

    Re: Dedicated server status script (fsockopen)

    It isn't blocked in the firewall, it's a problem with your script

    ~Callum
    I can customise your phpBB board. Send me a PM.
    lynxphp - info, tutorials and scripts
    "A forum post should be like a skirt; long enough to cover the subject but short enough to keep things interesting."

  3. #3
    g-s36581 is offline x10Hosting Member g-s36581 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    4

    Re: Dedicated server status script (fsockopen)

    Look, if my script is working perfectly on my local WAMP sever, i guess it has something to do with the starka server?

    P.S It really has something to do with the server.
    Usually all hosts block the fsockopen function because that's the function which is used to create proxies.
    Last edited by g-s36581; 01-23-2011 at 01:48 PM.

  4. #4
    Smith6612's Avatar
    Smith6612 is offline <<< wants a Turkey Smith6612 has a spectacular aura about
    Join Date
    Dec 2007
    Location
    Exploded
    Posts
    6,483

    Re: Dedicated server status script (fsockopen)

    Quote Originally Posted by Alex Mac View Post
    It isn't blocked in the firewall, it's a problem with your script

    ~Callum
    It is in fact blocked by the Firewall...

    My signature likes cookies! Do you? :D

  5. #5
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,634

    Re: Dedicated server status script (fsockopen)

    Quote Originally Posted by g-s36581 View Post

    In the forum topic, one of the last reactions was a reply from Corey. He said he could add pocho_m’s
    IP to the firewall, so his script would work.
    Time of Corey's response: 02-08-2007 12:58 PM

    A lot changes on the Net in 4 years.
    Nothing is always absolutely so.

  6. #6
    g-s36581 is offline x10Hosting Member g-s36581 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    4

    Re: Dedicated server status script (fsockopen)

    Yeah, I know

  7. #7
    Anna's Avatar
    Anna is offline I am just me Anna is a name known to allAnna is a name known to all
    Join Date
    Aug 2007
    Location
    Sweden
    Posts
    6,569

    Re: Dedicated server status script (fsockopen)

    That port (28961) would be blocked, and on free hosting we don't open ports on requests.
    Do you have trouble reaching your site?
    Check here first: News and Announcements


    Don't forget that x10hosting has an irc server as well. Come and join the fun
    server: irc.x10hosting.com, main channel: #x10hosting
    There's a lot helpful users there if need help building your site

  8. #8
    g-s36581 is offline x10Hosting Member g-s36581 is an unknown quantity at this point
    Join Date
    Jan 2011
    Posts
    4

    Re: Dedicated server status script (fsockopen)

    Ok, thanks anyway.
    Is there any other way to get this script working?
    Last edited by g-s36581; 01-23-2011 at 04:14 PM.

Closed Thread

Similar Threads

  1. X10 Hosting - Server Status Script
    By XGI Admin in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 09-28-2008, 11:14 PM
  2. Determining the status of a remote server without fsockopen().
    By darksuiseiseki in forum Programming Help
    Replies: 0
    Last Post: 07-21-2008, 11:22 PM
  3. Question about server status script in Cpanel
    By MichaelB in forum Free Hosting
    Replies: 1
    Last Post: 01-08-2008, 08:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers