Forum Discussion

Anonymous's avatar
Anonymous
12 years ago
SolvedApproved

How to play on 2 PC's on the same server from one house( one external IP) ?

I've bought 2 copies of BFBC2 to play online with my son, but it seems to be impossible. When  we want to play online on the same server, on one of the PCs the player is kicked out from the server with " connection to game server lost"  message( or even the game crashes) . 

Could anyone help?

Thanks in advance

  • Anonymous's avatar
    Anonymous
    12 years ago
    Approved

    It seems I found the solution.

    instead of +clientport parameter, which obviously does not work I use -port  xxxxx  parameter. As xxxxx I entered for example 10001  on one machine , while 10003 on the other. This combination works for me, I have not tried other values. This parameter alters the 10000 UDP port, which is used to receive the in-game data.

8 Replies

  • Anonymous's avatar
    Anonymous
    12 years ago
    Approved

    Thanks for quick response.

    I tried both on and off uPnP with no effect.

    I am not using steam version.

    Both are dvd versions, but one of them installed thru origin.

    I've already tried  the  +clientport thing, but it does not work for me

  • Anonymous's avatar
    Anonymous
    12 years ago
    Approved

    Hi,

    have you made set port forwardings on your router in the past? If so traffic is probably only forwarded to one computer.

    If there are rules try to deactivate them.

  • Anonymous's avatar
    Anonymous
    12 years ago
    Approved

    hi,

    I have never set up port forwarding for the bad company2.

    The nature of the problem is as you described - traffic from the server is being forwarded to only on e computer - both games use the same ports:  18390 and 18395 ( according to netstat) .  If they operated on different ports there would not be a problem I suppose. The game seems to ignore the +clientport parameters, as netstat  always show the values above.

    http://help.ea.com/en/article/online-ports-for-battlefield-bad-company-2/ says that  the game uses  TCP: 80, 18390, 18395, 13505  and UDP: 18395, 10000 so I think the port range from the +clientport  trick could hardly work.

  • Anonymous's avatar
    Anonymous
    12 years ago
    Approved

    Which numbers did you put in the +clientport?

    try any number between 27005 and 27032 but do not use 27020

  • Anonymous's avatar
    Anonymous
    12 years ago
    Approved

    Ive tried a lot of them always following the rule you mentioned, but no success. My feeling is that this +clientport fhing is simply ignored by the game , as it seems the game uses the same tcp ports whatever the parameter is.

  • Anonymous's avatar
    Anonymous
    12 years ago
    Approved

    It seems I found the solution.

    instead of +clientport parameter, which obviously does not work I use -port  xxxxx  parameter. As xxxxx I entered for example 10001  on one machine , while 10003 on the other. This combination works for me, I have not tried other values. This parameter alters the 10000 UDP port, which is used to receive the in-game data.

  • Anonymous's avatar
    Anonymous
    12 years ago
    Approved

    Hey, good to hear that. Thanks for posting your solution.