All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Force Port

Force Port

by GalvinPython • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Force Port

Download from Modrinth

A mod that forces the port to always be the same when using the "Open To LAN" feature!

Client-side only!

Demonstration

The configuration menu on recent Minecraft versions

Usage

Force Port allows you to modify the default port used when opening your world to LAN. This is useful for those who want to use a specific port for their server.

Just go to the installation location for that Minecraft instance, and open the config folder. You should see a file called forceport.txt. Open it with a text editor and change the port to your desired port.

Compatible Versions

Mod Version Game Version(s) Mod Version Title
1.0.1 1.14+ force-port-fabric-1.0.1
1.0.0 1.14+ force-port-fabric-1.0.0

Important Note

  • This mod hasn't been tested full on older Quilt versions or older mod loaders. However, this mod does work on Fabric for 1.14 and above using Mod Loader 0.16.0+
    • If you're using the latest Minecraft versions, you can use this mod without any issues.
  • The Fabric API is NOT required for this mod to work.
  • This mod is built with Java 21, so you need to change your Java version to 21 (or above) in the instance settings to run this mod, on any versions prior to 1.20.5.
  • As of 1.0.1, if the config file is not valid, it will default to 25565 (the default port for Minecraft servers). This is to prevent the mod from crashing. If the mod doesn't seem to work, please verify your config file!

Changelog

1.0.1

  • Fixed a bug where the mod would crash if newlines were added into the forceport.txt file (a default feature in some Linux text editors).
  • Added a check to make sure the port is a number and is between 0 and 65535.

How to Install Force Port (Mod)

Force Port by GalvinPython is verified for Fabric, Legacy-fabric, Quilt across Minecraft versions 1.0, 1.1, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2 (latest release: 1.0.2+26.3, file size: 32 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.0, 1.1, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2) and platform (Fabric, Legacy-fabric, Quilt).
  2. Make sure you have the compatible loader or environment installed for Fabric, Legacy-fabric, Quilt.
  3. Move the downloaded Force Port file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric Quilt
1mo ago 1
26.2
Fabric Quilt
1mo ago 1
26.1
Fabric Quilt
8mo ago 1
1.21.x 1.20.x 1.19.x +5
Fabric Quilt
last yr. 1
1.13.x 1.12.x 1.11.x +5
Legacy-fabric
last yr. 1
1.5.x 1.4.x 1.3.x +3
Legacy-fabric
last yr. 1
1.21.x 1.20.x 1.19.x +5
Fabric Quilt
last yr. 1
[1.0.2+26.1] Force Port 1.0.2+26.1 by GalvinPython on Mar 25, 2026
Download
Updated for 26.1
[1.0.1] Force Port 1.0.1 (Fabric) by GalvinPython on May 11, 2025
Download
Fixed crash on reading config file if not set properly
Version 1.0.0 Legacy Fabric backport for Minecraft 1.6-1.13
Version 1.0.0 Legacy Fabric backport for Minecraft 1.3-1.5
[1.0.0] Force Port 1.0.0 by GalvinPython on Oct 18, 2024
Download
Initial upload
Force Port Icon
Download Force Port
Select game version
Select platform