|
From: Roland C. <rc...@us...> - 2022-05-21 08:43:02
|
Hello Francesco, On 19/05/2022 22:54, Francesco Ariis wrote: > Il 19 maggio 2022 alle 22:13 Francesco Ariis ha scritto: >> I want to play Pioneers with my friend and so decided to run a >> private server. I have: >> - run `sudo service avahi-daemon start` >> - launched `pioneers-server-console` ... >> But when I run the client from another machine and select “Join private game”, the program gets stuck at >> 22:10:23 [INFO] Connecting to 134.122.108.198, port 5556\n > I will answer my own question. > > sudo ufw allow 5556 > > was needed. It would be nice if this info was clearly stated in the > manual. In addition to the manual in the Pioneers client, you can also find an online version of the manual here: http://pio.sourceforge.net/manual/ch03.html The exact command is indeed not listed in the manual. In the FAQ section, the question 'I've seen a game at the metaserver, but I cannot join?' indicates that a firewall might be involved. The instructions for dyndns appear to be offline, perhaps I have a copy somewhere, which I can host myself. The wording in the manual is rather vague, there are millions of ways to configure the router to do port forwarding. If you have a proposal, I'll update the manual accordingly. The Avahi service is only needed to advertise games in your local intranet. The 'Join' button in the 'Avahi' section will allow you to select such a game, without having to type host names or port numbers. The program might appear to be stuck at 'Connecting to...', but it is waiting for a time out. The time out might be a few minutes, which gives the impression that the program is stuck. This depends on whether the firewall has a DROP or REJECT rule. With kind regards, Roland Clobus |