Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    December 2008
    Location
    Netherlands
    Posts
    6

    TS3 PHP Framework Connection problems

    Hello,

    I'm trying to connect to my TS3 server with PHP but it's just timing me out.

    PHP Code:
    <?php
    /* set error reporting levels */
    error_reporting(E_ALL E_STRICT);

    /* set default timezone */
    date_default_timezone_set("Europe/London");


    /* load framework library */
    require_once("../libraries/TeamSpeak3/TeamSpeak3.php");

    $usrname "";
    $pass "";
    $host "";
    $qport 10011;
    $sport 9987;
    /* connect to server, authenticate and get TeamSpeak3_Node_Server object by URI */
    $ts3_VirtualServer TeamSpeak3::factory("serverquery://{$usrname}:{$pass}@{$host}:{$qport}/server_port={$sport}");

    ?>
    Code:
    Fatal error: Uncaught exception 'TeamSpeak3_Transport_Exception' with message 'Connection timed out' in /home/bvaeucom/public_html/TS3/libraries/TeamSpeak3/Transport/TCP.php:54 Stack trace: #0 /home/bvaeucom/public_html/TS3/libraries/TeamSpeak3/Transport/TCP.php(108): TeamSpeak3_Transport_TCP->connect() #1 /home/bvaeucom/public_html/TS3/libraries/TeamSpeak3/Adapter/ServerQuery.php(76): TeamSpeak3_Transport_TCP->readLine() #2 /home/bvaeucom/public_html/TS3/libraries/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn() #3 /home/bvaeucom/public_html/TS3/libraries/TeamSpeak3/TeamSpeak3.php(310): TeamSpeak3_Adapter_Abstract->__construct(Array) #4 /home/bvaeucom/public_html/TS3/scripts/away.php(17): TeamSpeak3::factory('serverquery://F...') #5 {main} thrown in /home/bvaeucom/public_html/TS3/libraries/TeamSpeak3/Transport/TCP.php on line 54
    I tried it with putty and that all works fine.
    Any suggestions?

  2. #2
    Join Date
    December 2008
    Location
    Netherlands
    Posts
    6
    You can close this now,

    my webhost got this ip blocked...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. TS3 PHP Framework - Connection Refused
    By idreyna in forum Linux / FreeBSD
    Replies: 1
    Last Post: December 13th, 2013, 10:30 PM
  2. Connection and connection lost problems.
    By Kalic in forum Windows
    Replies: 1
    Last Post: July 16th, 2012, 11:31 AM
  3. Replies: 3
    Last Post: February 10th, 2011, 11:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •