Ports used for multiplayer

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
PkK

Ports used for multiplayer

Post by PkK » 02 Feb 2009, 20:04

I really like this game, however the AI seems a bit stupid (even when using Aivolution), so I'd like to play against humans more (there is rarely anyone in the lobby).

Unfortunately the information about how to get multiplayer working are confusing, especially with respect to port forwarding and which ports the game uses.

The FAQ says it uses port 9999 and one should ensure that one'S firewall allows to make outbound TCP connections to this port and forwards incoming TCP connection on port 9999 to the correct computer (this is what I've done here and I can join multiplayer games; I did so for the first and second time yesterday; I do not know if I can host games).

The readme that comes with the game says it uses ports 9998 and 9999.

Forum posts suggest it uses ports 9997, 9998 and 9999.

It would be nice to have a definite answear to the question which ports the game uses.

Philipp

User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA
Contact:

Re: Ports used for multiplayer

Post by Zarel » 02 Feb 2009, 21:56

PkK wrote:I really like this game, however the AI seems a bit stupid (even when using Aivolution), so I'd like to play against humans more (there is rarely anyone in the lobby).

Unfortunately the information about how to get multiplayer working are confusing, especially with respect to port forwarding and which ports the game uses.

The FAQ says it uses port 9999 and one should ensure that one'S firewall allows to make outbound TCP connections to this port and forwards incoming TCP connection on port 9999 to the correct computer (this is what I've done here and I can join multiplayer games; I did so for the first and second time yesterday; I do not know if I can host games).

The readme that comes with the game says it uses ports 9998 and 9999.

Forum posts suggest it uses ports 9997, 9998 and 9999.

It would be nice to have a definite answear to the question which ports the game uses.

Philipp
I believe it's 9998 and 9999. It's not too difficult just to open all those ports, is it?

PkK
Trained
Trained
Posts: 81
Joined: 07 Feb 2009, 21:22

Re: Ports used for multiplayer

Post by PkK » 07 Feb 2009, 21:35

Looking at the firewall log it seems ports 9997 and 9999 are used, but not 9998.

Here's a typical excerpt (I see similar ones with 9999 isntead of 9997):

2009-02-07 21:32:37 OPEN UDP 172.31.31.103 172.31.31.254 137 137 - - - - - - - - -
2009-02-07 21:32:35 OPEN UDP 172.31.31.103 172.31.31.254 65148 53 - - - - - - - - -
2009-02-07 21:32:35 OPEN TCP 172.31.31.103 78.47.27.67 1328 9997 - - - - - - - - -
2009-02-07 21:32:37 OPEN UDP 172.31.31.103 172.31.31.254 54101 53 - - - - - - - - -
2009-02-07 21:32:37 OPEN TCP 172.31.31.103 78.47.27.67 1329 9997 - - - - - - - - -
2009-02-07 21:32:37 CLOSE TCP 172.31.31.103 78.47.27.67 1328 9997 - - - - - - - - -
2009-02-07 21:32:38 OPEN UDP 172.31.31.103 172.31.31.254 62219 53 - - - - - - - - -
2009-02-07 21:32:38 OPEN TCP 172.31.31.103 78.47.27.67 1330 9997 - - - - - - - - -
2009-02-07 21:32:38 CLOSE TCP 172.31.31.103 78.47.27.67 1329 9997 - - - - - - - - -
2009-02-07 21:32:45 CLOSE TCP 172.31.31.103 78.47.27.67 1330 9997 - - - - - - - - -
2009-02-07 21:32:53 OPEN UDP 172.31.31.103 172.31.31.254 50187 53 - - - - - - - - -
2009-02-07 21:32:53 OPEN TCP 172.31.31.103 78.47.27.67 1331 9997 - - - - - - - - -
2009-02-07 21:32:54 OPEN UDP 172.31.31.103 172.31.31.254 52839 53 - - - - - - - - -
2009-02-07 21:32:54 OPEN TCP 172.31.31.103 78.47.27.67 1332 9997 - - - - - - - - -
2009-02-07 21:32:54 CLOSE TCP 172.31.31.103 78.47.27.67 1331 9997 - - - - - - - - -
2009-02-07 21:32:55 OPEN UDP 172.31.31.103 172.31.31.254 61599 53 - - - - - - - - -
2009-02-07 21:32:55 OPEN TCP 172.31.31.103 78.47.27.67 1333 9997 - - - - - - - - -
2009-02-07 21:32:55 CLOSE TCP 172.31.31.103 78.47.27.67 1332 9997 - - - - - - - - -
2009-02-07 21:32:55 OPEN UDP 172.31.31.103 172.31.31.254 64443 53 - - - - - - - - -
2009-02-07 21:32:55 OPEN TCP 172.31.31.103 78.47.27.67 1334 9997 - - - - - - - - -
2009-02-07 21:32:55 CLOSE TCP 172.31.31.103 78.47.27.67 1333 9997 - - - - - - - - -
2009-02-07 21:32:56 DROP UDP 172.31.31.101 172.31.31.255 137 137 78 - - - - - - - RECEIVE
2009-02-07 21:32:57 OPEN UDP 172.31.31.103 172.31.31.254 53384 53 - - - - - - - - -
2009-02-07 21:32:57 OPEN TCP 172.31.31.103 78.47.27.67 1335 9997 - - - - - - - - -
2009-02-07 21:32:57 CLOSE TCP 172.31.31.103 78.47.27.67 1334 9997 - - - - - - - - -
2009-02-07 21:32:58 OPEN UDP 172.31.31.103 172.31.31.254 54773 53 - - - - - - - - -
2009-02-07 21:32:58 OPEN TCP 172.31.31.103 78.47.27.67 1336 9997 - - - - - - - - -
2009-02-07 21:32:58 CLOSE TCP 172.31.31.103 78.47.27.67 1335 9997 - - - - - - - - -
2009-02-07 21:33:11 OPEN UDP 172.31.31.103 172.31.31.254 58229 53 - - - - - - - - -
2009-02-07 21:33:11 OPEN TCP 172.31.31.103 78.47.27.67 1337 9997 - - - - - - - - -
2009-02-07 21:33:11 CLOSE TCP 172.31.31.103 78.47.27.67 1336 9997 - - - - - - - - -
2009-02-07 21:33:14 CLOSE TCP 172.31.31.103 78.47.27.67 1337 9997 - - - - - - - - -

User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Ports used for multiplayer

Post by Buginator » 08 Feb 2009, 01:41

For what it is worth, we have different versions of the game out, and that is why we normally just say open 9997-9999. It is just easier. :stare:
and it ends here.

User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Ports used for multiplayer

Post by DevUrandom » 17 Feb 2009, 03:44

Game: 9999 incoming/outgoing
Lobby: 9997/9998 (depending on version) outgoing

Post Reply