How to get Minecraft LAN world to work? (extreme newbie)

Hi,
Just got endeavourOS installed, and I am having issues with setting up a LAN Minecraft world. I previously used Arch Linux and there it worked immediately after executing:

sudo ufw allow 4445
sudo ufw allow 25565

I did the same thing for endeavourOS but it didn’t work. Output for sudo ufw status:

Status: active

To Action From


25565 ALLOW Anywhere
4445 ALLOW Anywhere
25565/tcp ALLOW Anywhere
25565/udp ALLOW Anywhere
4445/udp ALLOW Anywhere
4445/tcp ALLOW Anywhere
25565 (v6) ALLOW Anywhere (v6)
4445 (v6) ALLOW Anywhere (v6)
25565/tcp (v6) ALLOW Anywhere (v6)
25565/udp (v6) ALLOW Anywhere (v6)
4445/udp (v6) ALLOW Anywhere (v6)
4445/tcp (v6) ALLOW Anywhere (v6)

If I’m missing something or if there is an extra step to doing this on endeavourOS, please help me!
If I need to post any more information about my system, please let me know.

EDIT:
Disabling and stopping the firewalld.service fixed it!

Hello @plum, welcome to the forum!
I never used Minecraft, maybe my question is too simple. Are you sure that minecraft server and client are started? If it’s a problem with the firewall, what happens if you deactivate your firewall?

LAN servers on Minecraft can only be started while using the client. A non-LAN server is turned on differently through a jar file.

I would like to try to turn off the firewall, do i do it the same way as on Arch Linux or is there a different way to do it on endeavourOS?

It should just work now, doesn’t it?

Nope. I turned off the firewall using:

systemctl disable firewalld.service

But the other person still couldn’t join me. Hoping that there is just a different way of doing it on endeavourOS that i don’t know of.

Don’t quote me on this, but ufw isn’t the firewall used by EOS, it is firewalld. Maybe that’s the issue? It would also be good to check if both computers are on the same network.

Oh, I didn’t know ufw wasn’t used on endeavourOS, thank you for telling me! Both computers are on the same router.

I just used systemctl --type=service --state=running and got:

UNIT LOAD ACTIVE SUB DESCRIPTION
accounts-daemon.service loaded active running Accounts Service
asusd.service loaded active running ASUS Notebook Control
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
bluetooth.service loaded active running Bluetooth service
dbus-broker.service loaded active running D-Bus System Message Bus
firewalld.service loaded active running firewalld - dynamic firewall daemon
lightdm.service loaded active running Light Display Manager
NetworkManager.service loaded active running Network Manager
polkit.service loaded active running Authorization Manager
power-profiles-daemon.service loaded active running Power Profiles daemon
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running User Login Management
systemd-timesyncd.service loaded active running Network Time Synchronization
systemd-udevd.service loaded active running Rule-based Manager for Device Events and Files
systemd-userdbd.service loaded active running User Database Manager
udisks2.service loaded active running Disk Manager
upower.service loaded active running Daemon for power management
user@1000.service loaded active running User Manager for UID 1000
wpa_supplicant.service loaded active running WPA supplicant

Turns out systemctl disable firewalld.service did not work, I’ll try to disable it properly. Hopefully that fixes my problem "^^

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.