ModsFinder

Remember LAN Port

by Nnnes

Remember LAN Port keeps the port number used last time when a player opens a singleplayer world to LAN, so the same port is filled in automatically.

FabricClient-side onlyThe UnlicenseOpen source1.20.1 – 1.21.1

What it does

When a player opens a world to LAN through the Open to LAN menu, the port field is filled with the port used on the previous opening rather than a new random value. The port is remembered per world, so each world keeps its own setting. Changing the port and opening LAN saves the new value to the config file, and the autofilled number is shown in green as a visual cue.

The mod is for players who share singleplayer worlds with friends over a local network and want friends to reconnect on a known address. It needs Fabric Loader and Fabric API, and it is client-side only, so the server side needs nothing. Remember LAN Port is open source under The Unlicense and is published for Fabric for 1.20.1 – 1.21.1, with 1.0.0+1.21.1 as the latest file for 1.21.1.

Key features

  1. Last port reused

    The port used the last time a world was opened to LAN is filled in automatically the next time.

  2. Per-world memory

    Each world stores its own port, so different worlds do not overwrite one another's setting.

  3. Saved config

    Changing the port and opening LAN writes the new value to the config file.

  4. Visible autofill

    The autofilled port number is displayed in green in the Open LAN menu.

Compatibility

Latest build for each game version and loader.

1.21.11.0.0+1.21.1
1.211.0.0+1.21.1
1.20.41.0.0+1.20.4
1.20.11.0.0+1.20.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Repeat LAN sessions

Friends who join the same world regularly can reuse one address instead of receiving a new port each time.

Who it’s for: Players who host singleplayer worlds to LAN for friends on the same network, using Fabric.

How it compares

Full comparison

LANProtect is client-side only, open source under the MIT License and published for 1.21.5. LAN Server Options is open source under CC0 1.0 Universal and runs on client and server for 26.2, so it needs installing on the server as well as by players, unlike this mod.

ModLoadersGame versionsEnvironmentUpdated
Remember LAN PortFabric1.20.1 – 1.21.1Client-side only2024-08-24
LANProtectFabric1.21.5Client-side only2025-06-02
LAN Server OptionsFabric26.2Client and server2026-06-23

Questions

Does Remember LAN Port need Fabric API?

Yes. The mod requires Fabric Loader and Fabric API, both of which must be installed alongside it.

Does the server need Remember LAN Port?

No. It is installed on the player's side alone, so servers need nothing.

Does the remembered port apply to every world?

No. The port is stored per world, so each world keeps its own remembered value.

Which game versions does the mod support?

Files cover 1.20.1, 1.20.4, 1.21 and 1.21.1, and the latest file is 1.0.0+1.21.1 for 1.21.1.

In the catalog

Remember LAN Port is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 32,366 mods support Minecraft 1.21.1.

Similar mods

Official listing

Owner
Nnnes
Published
2023-09-08
Updated on Modrinth
2024-08-24
Facts verified
2026-10-15

Tags