PDA

View Full Version : Teamspeak Client Ports


ttleser
25-06-2002, 21:24
What UDP/TCP port does the client version use?

Currently I'm using 2 computers behind a Linksys BEFSR41 router and both are running windows XP pro. Since it's XP Pro it's already got directx 8.1 installed (default to O.S.) and both can connect to the server, no problem. The problem comes in after a period of time one of the PCs doesn't recieve/send thru teamspeak anymore. It still shows it's got a connection to the server, it's just not broadcasting or receiving transmissions. If I disconnect/reconnect the transmissions will come back. But after a peroid of time again it will not transmit/recieve. Teamspeak even vocally tells me when I disconnect/reconnect so I know my sound isn't gone..

The other PC worked great. No problems when both are hooked up to the same server.

I was thinking that if I could setup teamspeak client on one of the PCs to send/recieve thru port xxxx, and setup the router to forward requests to that port of that Internal IP of that computer, that might solve my problem. What's your thoughts?

Both PCs will work fine, if used separately by themselves to the same server.

DjAttitude
25-06-2002, 21:34
TCP 8765
UDP 8766

hope that helps

ttleser
25-06-2002, 23:06
Well actually it does answer my question.

But are the ports changeable?? I'd like to set one PC to one set of ports and the other PC to a different set.

And aren't those ports you listed for the server?

T. Boonstra
26-06-2002, 07:30
Those are the ports the server listens for, the client uses random source port (sorry forgot the range)

However the problem you speek of sounds like an "timeout" problem caused by your router.. Check the Server forums and see if some of those suggestions help..

ttleser
26-06-2002, 12:59
Not to cause an argument. But....

The OTHER pc has not had this problem. Even the problem pc doesn't have the problem, except when both are connected. It could be a timeout problem, but I haven't configured teamspeak to use any other port than the default.

[Quote] Those are the ports the server listens for, the client uses random source port (sorry forgot the range) [Quote]

The client truly uses random ports? How would I know what ports to go into the router and "extend" the time for?

Anyone with exact information about what ports are used would be great.



Ok, now for the plug!

My group of guys that play Black Knight regularly love the program. It's great. Can't wait for ver 2.0

T. Boonstra
26-06-2002, 13:57
The other pc doesn't have a problem with it?.. odd.. well guess i don't know then :(

Could it be the windows XP firewall is causing problems (if its enabled)

ttleser
26-06-2002, 18:04
It's not enabled. Any other thoughts??

Are the ports hard coded into the program or in a file or registry entry.

Thanks ahead.

T. Boonstra
26-06-2002, 19:33
Like i said, the client uses random ports to connect/transmit

As for the server, no you can specify which port to use in the ini file..

ttleser
26-06-2002, 21:38
Well by your comments:

[Quote]: Those are the ports the server listens for, the client uses random source port (sorry forgot the range) [Quote]

I took it that you were unsure and couldn't remember.

Any chance that ver 2.0 youwill be able to specify the ports. That would be really helpful to someone using 2 pcs behind a router/firewall.

Thanks

SLI Fallen
28-06-2002, 14:36
Ttleser. I am experiencing the EXACT same problem as you, and with the same router.

I too, would like some kind of workaround, et. My firmware is up to date.

Theo
28-06-2002, 20:25
Hey I got same problems with Disconnections with Same Linksys router... The only way to get it to work is to turn DMZ on for the IP of the PC that is running TS. The reason DMZ works is because TS Client randomly changes PORTS so PORT Forwarding will not work because the ports are constanlty changing...

FIX. Turn DMZ on for the specified IP prior to using TS then turn DMZ off after done using TS.

CAUTION: You dont want to leave DMZ constantly on.. this leaves the PC that is DMZ completely open to the outside world..

Hopefully TS v2.0 uses a fixed range of ports.. as oppossed to random ports.

NOTE: DMZ = Demilitiarized Zone.

Theo.........

ttleser
28-06-2002, 21:33
That would work for one PC, but what about the other? I could DMZ the non-working PC but would that cause the working to fail???

Don't forget that I've got 2 pcs behind the firewall/router and want both to talk to the same server in the internet w/out problems.


Thanks for the suggestion though :D

Theo
28-06-2002, 22:09
Well I would try to leave the PC that is working alone... And Just enable DMZ on the PC thats is giving ya problems.. If it works great.. But there should be no reason why one works and the other doesn't unless you specified different settings for each IP?......

If it doesn't work then you will have to wait for v2.0 which is supposed to fix this issue..

BTW why you using 2 different PC's on same server? Multiple users in that location? Surrond Sound LOL?


Later,
Theo

ttleser
28-06-2002, 22:17
No actually, I have 2 PCs in different locations in the house. Mine and my wifes. When my friends get together to play a campaign you've got setup in Mechwarrior4, both my wife and I connect to a served teamspeak out in the internet. Her computer's got a all-in-wonder vid card, so I've got it hooked up to a VCR. I'll play the game using my mech and she'll join in camera mode. With both of us using teamspeak (along with my buds), the VCR can tape video as well as the "commands" given to everyone by the commander.

Unfortunetly, we've come across this problem (only recently was I able get the other PC to join the MW4 game along with mine) and my wife will have to disconnect and reconnect to cure the problem (till it happens again).

ScratchMonkey
29-06-2002, 02:33
The random source port thing is a normal part of UDP protocol. Locking the source port to a specific value is usually provided only to deal with router bugs (which is what you seem to be experiencing).

Ideally you should find new firmware for your router that allows you to extend the UDP timeouts, presumably to twice the longest session you can imagine having.

Have you tried the patched client? I believe it "pings" with UDP to hold the connection open and keep the router from timing it out, but some routers can be agressively buggy about dropping a UDP connection even when traffic is flowing, based on time from when the first packet was seen instead of time from the last packet.

ttleser
29-06-2002, 03:28
Isn't it possible that since I've got 2 PCs behind the firewall/router connecting to the same internet served teamspeak, that this random changing of the ports, the one pc is gets randomly changed to the port the other is using (or vise versa) and is causing the other to drop the connection? I do believe that you are on to something with the teamspeak random port changing. Is there a way I could tell what port it's using at any time? A program perhaps?

That's why the fixed ports would be better. This is of course going on the assumption that that is whats causing the problem.

And I guess I'm not completely sold on this "The random source port thing is a normal part of UDP protocol", because (saying quietly, looking both ways to make sure no one else is listening) Roger Wilco uses a customizable-fixed UDP port and doesn't have the problem. I can program RW to 3782 and 3783 on the other PC and setup the router appropriately and this doesn't happen.

Thanks so far to everyone that's replied. Please keep posting. I think we'll get the absolute answer soon.

SLI Fallen
29-06-2002, 13:29
Theo's fix worked for me! Thanks! (somehow my home network subnet ip had changed and I simply repaired that as my DMZ ip and all is good) :)

Theo
29-06-2002, 23:49
Your Welcome.... I hope v 2.0 fixes this issue

ScratchMonkey
01-07-2002, 10:08
A UDP connection has 4 parts, the source IP, source port, destination IP, and destination port. Change any one of the 4 and it's a different connection. With two clients to one server, the destination IP and port is always the same, and the source IP's are different, so it works fine if the source ports are the same. (Otherwise imagine the confusion if a bunch of different clients all connected to Yahoo at the same time, and two picked the same source port, and it worked the way you thought.)

When going through NAT, the NAT box takes the source IP and port from the NAT's box and puts it in a table, and uses a fresh random source port of its own to send the outbound connection with its own IP. When the reply comes back, the NAT box looks up the inbound port in its table and uses that to decide what IP and port to send the packet back to. So every unique box behind your NAT box will look to the server like a different source port on the NAT box. The server thinks it's talking to two clients running on the NAT box, not two separate boxes behind it.

st1971
01-07-2002, 14:15
Dear Valued Customer,

Thank you for contacting Linksys Customer Support.

With regard to your inquiry, you may want to try having values on the MTU settings, To assign a specific value for the MTU, access the router's configuration page and then click on the advanced tab. Once in the filters tab, browse down to the lower portion of the page and enable MTU. On the small box beside the MTU, enter any of the following values; 1382, 1392, 1400, 1450, 1492.

Or either forward necessary ports, specially the ports that was assigned to that certain application. In forwarding ports make sure that you assign a static IP addressing on that specific machine. For the port assignment you may contact the technical support of TeamSpeak. Here are some guides that may help you in forwarding ports.

Please follow the following procedures to open up port in your router:



1. Enter your router's web based utility.

2. Click on the Advanced tab.

3. Click on the Forwarding tab.

4. Click on Port Triggering.

5. Trigger port number xxx to xxx.

6. Click on Apply.

7. Click on the Filters tab.

8. Enable MultiCast Pass Through.

9. Disable SPI.

10. Click on Apply.



If you have further questions, please feel free to send an eMail
to support@linksys.com or contact us at (800) 326-7114 so that
we may further assist you.

Regards,

Reximo O. Ignacio
Product Support Representative
Link2Support

Operator
30-05-2005, 23:29
Im having the same problem. I have a router. I got DMZ enabled but dont know the correct numbers to put in the back.

Kazu
08-06-2005, 05:36
Like Theo said. Turn on DMZ then it will work.

I've been having the same problem when started using the TS client with my Linksys WRT54G. Only turning on DMZ, ur client will connect with the server.

Operator
11-06-2005, 07:58
thats odd becuase i've enabled it but it wouldnt work