Can't host IPv4 game with lobby server

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
parker
New user
Posts: 5
Joined: 04 Feb 2011, 06:00
Location: Iowa, US

Can't host IPv4 game with lobby server

Post by parker »

When trying to host a game I get the error:
"Error while connecting to the lobby server: Connection timed out
Make sure port 2100 can receive incoming connections."
Port 2100 is forwarded from my router to my computer (ubuntu 10.10).

I get this with the current stable version 2.3.7 and Master-20110127. netstat -nl gives a clue:
tcp6 0 0 :::2100 :::* LISTEN

That output means it's listening on port 2100 for IPv6 only. There is no corrosponding line for tcp (IPv4). I have IPv6 support on (default in ubuntu) but my ISP only gives me an ipv4 address. I don't know much about IPv6, I'm not intentionally using it, and I'm not sure why warzone will only listen on IPv6. How do I force it to use IPv4 when hosting a server with the lobby?

Checking for open ports using http://www.yougetsignal.com/tools/open-ports/ shows that port 2100 is closed. I'm assuming it's because warzone is not using my IPv4 address.
User avatar
Fastdeath
Trained
Trained
Posts: 115
Joined: 16 Jan 2010, 08:52

Re: Can't host IPv4 game with lobby server

Post by Fastdeath »

Hi Parker,

The OS does map from IPv6 to IPv4 Warzone doesn't need to listen IPv4 and IPv6.

Please check your router, firewall and portforwarding.

Regards,
Fastdeath
Nightly builds available here see buildbot for more infos about them
Lobby Server: here and here
SharpFlame the new WZ Map Editor
parker
New user
Posts: 5
Joined: 04 Feb 2011, 06:00
Location: Iowa, US

Re: Can't host IPv4 game with lobby server

Post by parker »

Fixed. It didn't have anything to do with IPv6 (or 4). I double checked my router, forwarded ports, and firewall. It turned out to be a missing comma in /etc/firestarter/inbound/allow-service firewall rules for firestarter on the local machine. I had edited it by hand remotely over ssh where I didn't have the firestarter GUI available.

Thanks for your help.