TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 448
  • Total: 448

Teamspeak block!

Started by -Prismatic-, October 14, 2005, 11:20:45 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

zuma13

Quote from: IchBinÃ,â,,¢ on February 16, 2007, 07:19:11 PM
The only port for TS that has to be open for it to work is 8767 (default). The other ports are for admin and status. You'll need to ask your host if they are allowing these ports.

Hi.

Thank you, I've talked to my "host" (actually it's a mohaa game community that gave my clan this TS for winning a cup) and they won't open any ports for me :S

The guy says that there's a TS script out there that doesn't need a query port. I doubted but he says he's used it some time in the past. :rolleyes:

Well, does it have any chance to be true? Or the guy is just sick?

IchBin

Probably something you should look for on the TS site. I've never seen it myself.

raxavier69

tried every setting i can think of, 3 servers and they all say offline? any ideas?
ip correct TS port and TCI ports correct

IchBin

Are the ports forwarded in the router and/or firewall?

raxavier69

i tried 3 different teamspeak servers

IchBin

That doesn't mean it will work. You HAVE TO HAVE the status ports opened on the firewall and/or router for it to work.

raxavier69

please explain
i got the 2 ports #'s do i have to ask my friend to allow me to view? because the ts is on another machine

Thurnok

Are you trying to use the Teamspeak Status php script?

If so, here's the steps you need to take:

1) On the Teamspeak Server (the box running the TS Server software)  go to the directory where the TS Server software is installed.

2) Open the Server.ini file and find the entry TCPQueryPort=.  Note the port being used.  This is the port that you need for the TS Status script to access the TS Server and gather information (who's on, if the server is up, etc.).  The default for this is port 51234.

3) On the router that the Teamspeak Server computer uses to access the internet, you must ensure that the port from step 2 is not blocked (generally, for most routers it needs to be in the port forwarding section).  This is a TCP port, not UDP - make the correct setting on your router.
NOTE: I'm assuming that the TS Server is already working, and therefore not mentioning anything about forwarding the "chat" port (the port that is used for xmitting voice data to/from clients)

4) On the WEB server you wish to place the Status Script, you must ensure that they allow the php function fsockopen().  If your host does not allow this function, you will not be able to use the script.  Some hosts require you to provide them the URL and PORT for use with the fsockopen() function.  They then generally only allow a socket to be opened for that domain and that port.  If it changes, you'll have to contact them again to have them change the domain/port they allow fsockopen() to access.  If your host does not restrict the fsockopen() function at all, then you are in great shape.

5) In the TS Status Script file (ts_viewer.php) make sure the the line that starts like this:
$ts_viewer->show_ts_viewer(
looks like this:
$ts_viewer->show_ts_viewer(<server domain>, <ts chat port>, <ts tcp status port>, <ts server password>)

<server domain> = domain of the Teamspeak Server
<ts chat port> = the UDP port the TS Server and TS Clients use for "chatting" on
<ts tcp status port> = the TCP port from step 2
<ts server password> = the password (if you have one) for your TS Server for a guest to connect with, otherwise use a null string ("")

Example:
$ts_viewer->show_ts_viewer("mytsserver.com", 8767, 51234, "myTSserverPwd")

That's pretty much it.  If you get "Server Offline" in your block from the script and you are sure that the TS Server is running and its router has the TCP Query Port open (from step 2), then the WEB server is unable to use fsockopen() and you must get your Host provider to allow it.

raxavier69


raxavier69

i can even provide the vs_viewer.php for u to check

This website is proudly hosted on Crocweb Cloud Website Hosting.