Even though I have exams coming up, I still manage to squeeze in the odd round or ten of Team Fortress 2. I blame Valve for releasing the medic achievements recently.
(7 to go! One of them is ‘Family Practice’, so I need some more Steam friends to deploy an ubercharge on, hint hint. Also, for all the spies out there: FYI I am a medic – please call for me sometime eh?)
Anyway, I had been playing for a while, but had developed a problem connecting to servers. The problem was that most of the time I would get into the game, take a few steps, then it would freeze. A second later I would get the red “Connection to server lost. Disconnect in 29…28… seconds”. Sometimes I would only get to “retrieving server info” or “sending client data”, and sometimes I could play for as long as 30 or more seconds before I got ghostbusted (yes, netrek jargon). I’m sure I even got a kill after being disconnected.
Trying to rejoin would give me a “This Steam ID is in use on the server”, while my friends saw many “BertieB(1)Â has connected”. And I saw a lot of “Disconnected from server. Reason:” … connection to server lost… this steam ID is already in use…
This is not unique problem. Fortunately the fix is fairly straightforward.
You need to open some ports on your router:
TCP 27030 – 27039
UDP 1200
UDP 27000 – 27015
For people with a BeBox (a Speedtouh 780 WL I think, so it should work for similar Speedtouches, like those with BT internet) you can simply log into the router (at http://192.168.1.254), go to Toolbox -> Game & Application Sharing -> Assign a game or application to a local network device -> Half-life 2. Easy!
This may not solve the problem for everyone, but it did for me and others. Good luck!
Update: Thanks to Jeroen, who pointed out the typo that has been there for about 3 years.
by CoffeeSquid
22 May 2008 at 04:38
Being plagued by this horrid, horrid problem for months. Just can’t shake it. I’m limited to playing on about 2 or 3 TF2 servers I’ve found which work… after a few attempts.
The address you gave takes me to my hub, which is a BT Home Hub, but as for my login details, I’ve not the slightest clue, and I don’t believe I was even given any. Just can’t figure it out, but then again with BTs customer support being the shambles that it is, I’m not sure I have the patience to queue for an hour to find out. :/
by Robert
24 May 2008 at 18:27
Hi CoffeeSquid
Yep, I know the feeling. It sucks.
Is your BT Home Hub old or new? FOr older Home Hubs, the default username and password are ‘admin’ (without quotes). Newer Home Hubs have the username ‘admin’ and the password is the serial number of your Hub. Check the back or the bottom of it.
Robert
by Midnight
06 Jul 2008 at 17:36
I’ve been playing fine on my new clans server for the last week, now I get this connection error, surely that can’t be a ports problem, everything is exactly the same as it was a week ago. Any ideas?
by Robert
07 Jul 2008 at 15:24
Midnight:
It would seem unlikely to be a ports error all of a sudden. Has anything changed? Either on your end or at the server? Also, who is your ISP?
Robert
by Sam
03 Aug 2008 at 00:09
came across your page while googling for a solution, and would just like to say Thanks.
by Jack
20 Aug 2008 at 12:19
i may be a bit of a noob but how do u open ports on your router? lol
by Robert
20 Aug 2008 at 14:04
Jack:
What router are you using?
If you’re with Be and you have a BeBox, go to http://192.168.1.254, then “Toolbox”, and “Game and Application Sharing”, and go from there.
Pingback
by Websites tagged "netrek" on Postsaver
09 Aug 2009 at 19:47
[...] – TF2 – ‘Lost connection to server’ Solved saved by mzn2009-07-25 – Mortar Mayhem saved by NDark2009-07-24 – This I Believe #29 saved by [...]
by Network Device Guy
10 Nov 2009 at 00:12
Robert, I forgot to tell you last year how appreciateive I am of this post! I was getting so frustrated and about to give up. I had a newer hub and thanks to not only your post but your follow-ups, I was able to fix the error.
Can’t wait to read more from you!!!
by Robert
16 Nov 2009 at 17:08
@Network Device Guy
Glad it helped! I actually had to re-set up my router recently (I tried to add a forward rule and it spawned infinite rules, making the unit – which is flaky at the best of times – crash into a sobbing heap on the floor), and where did I look for which ports to forward…?
If you really want to read more, I’m now posting from Barcelona, where I intend to learn Spanish. It’s by far the scariest thing I’ve done!
by Neil
08 Dec 2009 at 17:41
Robert,
Would you reset the router after making changes to Gaming and Applications?
Thank you for your Be Broadband-specific post, that was a pleasant surprise
Neil
by Robert
08 Dec 2009 at 20:25
Hi Neil
The changes snhould be applied immediately – no need to restart. I wrote about Be because it’s what I know, although like I say the changes should work across all SpeedTouches of the same or similar model. I think the BT Home Hub is similar, although I could be wrong. Certainly I’ve heard of BT users having problems.
In general, forwarding the ports mentioned should fix the problem!
by Paul
04 May 2010 at 18:28
ty =) Looks like it might have solved my problem
Paul
by Jeroen
18 May 2010 at 12:33
UDP 2700 – 27015
2700 is that a typo not 27000 ?
by Robert
18 May 2010 at 23:50
Jeroen, you are absolutely right.
What’s embarrassing is I noticed the typo when re-doing ports after my BeBox packed a mental. I could have sworn I updated it and left a comment to the fact. Guess I’m imagining things!
For what it’s worth, I’m now using my BeBox purely as a glorified modem in bridge mode in front of a Linksys WRT54GL running the Tomato firmware. Stability is much improved.
Cheers!
by Jeroen
23 May 2010 at 22:38
Good thing we got that 3 year old typo squashed
by Paul
18 Sep 2010 at 20:30
I have the TCP and UD etc assigned for HL2, but my speedtouchy piece of sh.. assigns TF2 a different set of numbers. I cannot seem to give all my Steam protocols the same number. And this does not really keep me from losing connection with HL2 in any case. I am getting three basic symptoms. Sometimes I can log in, usually after several tries of getting hung up on sending client information, sometimes I then lose connection, and sometimes it says Steam validation problems. All three of these seem similar, but at different points in logging on. The games work sometimes for some servers, but even these experience all of the above at different times. Really pissing.
by richard padley
14 Oct 2010 at 19:59
This has been driving me mad – I only recently made the correlation between playing Team Fortress 2 and the old style BT Hub hub resetting.
I’ve logged calls with BT, done resets – nothing.
Finally – your post looks like the solution.
I’ve made the change….here’s hoping for more uninterrupted gibbin’
by Chris
23 Dec 2010 at 18:39
Hey Guys,
Sorry to bump and old post ^^
But for those who don’t know how to open up ports on their router, there is a website called portforward (google it) This is a very useful site and has help on forwarding your ports for all routers and all games,
Check it out!
Chris.
by Robert
03 Jan 2011 at 05:15
Hey Chris, no need to apologise for the bump! This problem still affects loads of people in many Source games (eg Counter-Strike Source or Left4Dead[2]), so additional information is definitely helpful. Heck, I even still use this post when I need reminded of which ports it is!
Richard – aggravating but fingers crossed this’ll work. There is a separate issue that I noticed with my model – playing games like Left4Dead or anything that retrieves a huge serverlist crashes the router (opening too many connections / overheating?). Unfortunately my solution was to use the router as a bridge and let a WRT54GL running Tomato handle the grown-up stuff like opening connections and routing.
Pingback
by TF2 Connection Problems Persist « Bertie Baggio's Wonderland
28 Jun 2011 at 15:07
[...] 100 000 players today – no doubt it was busier at the weekend). As a result, my old post on fixing the “lost connection to server” issue has been very popular in the last few [...]
by psilocybin spores
18 Jan 2012 at 13:59
Heya i’m for the primary time here. I came across this board and I in finding It truly helpful & it helped me out much. I’m hoping to provide something again and help others such as you aided me.