Jump to content

Talk:Minecraft

From ArchWiki
(Redirected from Talk:Minecraft/Java Edition server)
Latest comment: 15 June 2023 by PolarianDev in topic iptables rules for hosting a LAN world

iptables rules for hosting a LAN world

Apparently, you need to accept traffic on:

  • the TCP port minecraft randomly picks after you open your world to LAN, or your friends won't be able to join;
  • UDP port 4445, or the game will hang when you save and exit from the world.

I tested this repeatedly and indeed it is true for me. If anyone confirms this, we can add it to the wiki. --Alexpin (talk) 17:49, 25 February 2017 (UTC)Reply

Hello,
I am aware this was posted 5 years ago but I would like to address an issue with this.
As the port decided by Minecraft is random, probably designed that way to prevent people using LAN's as dedicated servers.
The port which is sent in chat when you start a LAN needs to be opened every single time you open a world up to LAN.
Thanks, PolarianDev (talk) 12:17, 15 June 2023 (UTC)Reply

Minecraft wayland should work now

According to https://bugs.mojang.com/browse/MCL-12215?focusedCommentId=601710&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-601710 it should work now and I am running it without the GDK_BACKEND=x11 hack.