It seems that occasionally my friends and I have issues connecting with each other. I'm assuming this is a firewall/router issue, although it could be something else. Under Network Settings in the game, I have it set to 'Friends Only' so it shouldn't be an issue with my game settings.
-
1If Windows Firewall blocked it I think you need to set the exception for the app, not just the port. I'll check my firewall settings when I get home to see what mine are set at.– ZeldaCommented Sep 19, 2012 at 18:14
-
Weird, I had zero issues; what firewall software and what version of windows? I'm on win 7 with win firewall, I clicked "allow on private networks" once and it works– ZeldaCommented Sep 19, 2012 at 18:40
-
1This seems to only happen spuriously - friends that can connect one hour have issues connecting the next, and so on.– KotsuCommented Sep 19, 2012 at 18:54
-
Oh; if the connection's just spotty I've noticed that too...I thought it was my friend's connection TBH.– ZeldaCommented Sep 19, 2012 at 19:15
2 Answers
Borderlands 2 uses steamworks, and according to Chrisf they don't use any other special ports, so the standard steam answers apply.
Steam Client
UDP 27000 to 27015 inclusive (Game client traffic)
UDP 27015 to 27030 inclusive (Typically Matchmaking and HLTV)
UDP 4380
Dedicated or Listen Servers
TCP 27015 (SRCDS Rcon port)
Steamworks P2P Networking and Steam Voice Chat
UDP 3478 (Outbound)
UDP 4379 (Outbound)
UDP 4380 (Outbound)
Also, there are several ISPs which block ports required for the proper operation of Steam and Steam games:
012.net (Steam traffic blocked)
Bluewin (Firewall blocks Steam from provider side - must be disabled through provider's service portal)
Dutch Telecom (Steam traffic blocked)
ISPFree (Steam traffic blocked)
Micronet Broadband (Steam traffic blocked)
TalkTalk (bandwidth throttling reduces download speeds)
Furthermore, Steam has their own connectivity support doc with the basic check your firewall, av software, etc. that you could try here.
The only interesting thing I see on it is starting steam with -tcp to force it to use all TCP ports instead of UDP, if that's messing something up on your end.
-
Comprehensive answer, I forgot that it's integrated with Steam now. Commented Sep 19, 2012 at 20:26
-
On top of the instructions above, I had port forward 50000-65535. It appeared to work.– user33494Commented Sep 24, 2012 at 15:45
-
Most home routers in the default configuration allow just about all outbound traffic, so which of these ports is the software listening on and therefore requires forwarding? Both this answer and the source are not explicit. The source is even worse, saying "incoming" on some, "outgoing" on others, and not specifying at all on most. Commented Feb 5, 2015 at 2:01
EDIT: I forgot that Borderlands 2 is integrated with Steam unlike the first Borderlands, so @Kexlox answer has the correct information for fixing your problem.
An alternative is for you and your friends to download a program that emulates LAN. There are many programs that do this, including GameRanger and Hamachi. I personally recommend Tunngle, as it is what me and my friends currently use and it has support for a large range of games. Not that it's the best - but Tunngle will for sure get you and your friends playing. Don't forget to change from 'Friends Only' to 'LAN' in Network Settings in-game once you have set one of these programs up!