Jump to content
Sign in to follow this  
MrShiney

[SOLVED] Can't host Multiplayer game (even LAN) ¿Port forwarding?

Recommended Posts

Hello, I love 0 AD but I have a problem setting a host, it doesn't matter if it's online or local network. I've open UDP port 20595 in my router, also I've added the port to windows firewall.

And every time I try to connect to the host I just can't do it. The game says that I probably not forwarded the port 20595. 

What should I do?

I'm lost. :wacko:

Edited by MrShiney

Share this post


Link to post
Share on other sites

Hello Mr Shiney,

You cannot play on the lobby on a Local Area Network (L.A.N.) you have to use the other options to connect to your partner. You can get his IP, by opening the command line in his computer (ctrl + R and type cmd) and typing 'ipconfig' (without quotes)

If you want to play online and the forwarding doesn't work, that means that maybe your local IP, given by the router DHCP has changed, therefore forwarding the port to a wrong computer. The best thing to do in this case would be to make your local ip static to your mac adress.

Hope it helps.

Share this post


Link to post
Share on other sites
2 hours ago, stanislas69 said:

Hello Mr Shiney,

You cannot play on the lobby on a Local Area Network (L.A.N.) you have to use the other options to connect to your partner. You can get his IP, by opening the command line in his computer (ctrl + R and type cmd) and typing 'ipconfig' (without quotes)

If you want to play online and the forwarding doesn't work, that means that maybe your local IP, given by the router DHCP has changed, therefore forwarding the port to a wrong computer. The best thing to do in this case would be to make your local ip static to your mac adress.

Hope it helps.

Thanks stanislas69.

 

Okay, so lobby is not for lan. That was my second try, after trying to connect with "host game"/"join a game options". But I got the same error message with "host game"/"join a game".

I guess for lan playing I should give my IPv4 address, shouldn't I?

Share this post


Link to post
Share on other sites
2 hours ago, stanislas69 said:

Yeah give the IP adress of the host  to the clients, and you should be fine.

It just doesn't work.

What IP should I enter in PortForwarding section? The IPv4 of my pc or the generic router 192.168.1.0/1? Because I've entered mine.

 

Share this post


Link to post
Share on other sites

If you want to host on the lobby:
   Forward your Port to to the local computer adress that will host the game.

If you want to play on LAN: 

    No port forwarding required

    Make sure that your local firewall doesn't block 0ad

    get the host IP adress by using cmd

   launch the game and press host

    give the host IP to the clients that they will write in join

make them launch the game

and click join

writing your ip

and voilàa

     

Edited by stanislas69
  • Like 1

Share this post


Link to post
Share on other sites
8 hours ago, stanislas69 said:

If you want to host on the lobby:
   Forward your Port to to the local computer adress that will host the game.

If you want to play on LAN: 

    No port forwarding required

    Make sure that your local firewall doesn't block 0ad

    get the host IP adress by using cmd

   launch the game and press host

    give the host IP to the clients that they will write in join

make them launch the game

and click join

writing your ip

and voilàa

     

It doesn't work. I get the same error message, something like "Cannot connect to the server, probably you have not enabled port 20595 in portforwarding.

 

Again. IP I should use is IPv4 address like 192.168.1.xxx

0 AD is allowed on windows firewall. Also I have MalwareBytes Antimalware and Antiexploit (both free versions), I think they have no firewall options.

 

Maybe I'm missing something about my router firewall or Windows. :(

Share this post


Link to post
Share on other sites
9 hours ago, stanislas69 said:

@MrShiney don't worry we'll fix it whatever it is.

I realize I forgot to ask: What version of the game are you using ?


I attached two files that might or might not help. The direct connect is in case you do not have access to the lobby, ie, school firewall.

 

0 A.D. Lan Tutorial.pdf

0 A.D. Direct Connect.pdf

Oh, man, that's very helpful.

 

But, I've solved the problem. It just was so stupid... My personal LAN was configured as a Public network, and I only granted 0AD private network access.

 

Thank you very much.

 

[SOLVED]

Edited by MrShiney
  • Like 3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...