Skip to content

How to host a forge server on your PC

Do you want to host a modded Minecraft forge server from your own PC? The following guide, will show you how!

Forge allows users to install mods that add to, or change, vanilla Minecraft. To connect to the server, you have to install forge.

Requirements

  • Minecraft forge installer to match your Minecraft version
  • A text editor
    • You can use Notepad, but we suggest using Notepad ++

Steps

1 – Create a new folder for your forge server files, and open it.

Empty server folder

2 – Double click the forge installer to open it.

Forge server installer in downloads folder.

3 – Select “Install Server”

Forge installer window

4 – Click the 3 dots (…) and choose the folder you made in step 1

 Forge installer window

5 – Click “OK” and wait for the install to finish. A screen similar to this one will be shown:

Forge server install in progress.

6 – When the install is complete click “OK”:

Forge server install successful

7 – Open your forge server folder and make a new text document called “start.txt”:

Forge server folder showing start.txt

8 – Open start.txt and paste the following code:

java -Xmx1G -jar forge-1.16.5-36.0.1.jar nogui

Important:

  • Change “forge-1.16.5-36.0.1.jar” to match the name of your forge jar file.
  • 1G is the amount of RAM your server can use, in GB’s . Increase the number to use more ram.
Start.txt contents in Notepad ++

9 – Choose File > Save as.. and save the text file as a batch file.

Saving start.txt as start.bat

10 – Open your forge server folder and double click “start.bat”

start.bat highlighted in the forge server folder.
Missing folders are created when you run start.bat

11 – Open eula.txt and change “eula=false” to “eula=true” and save the file.

Eula.txt contents in notepad

12 – Finally, double click start.bat to launch your forge server.

cmd.exe window showing a running forge server.

That’s it!

You have now installed your forge server and it’s running. To connect to it, from the same PC, use localhost in the minecraft server address field.

Giving your friends access to the server.

Now that the server is up and running, you need to port forward the servers port to your PC. Head over to portforward.com and search for your router for step by step instructions. When asked, the port that needs to be forwarded is 25565.

After you have forwarded port 25565 your Minecraft server will be available on publicIP:25565. You can find your public IP on whatsmyip.org.

Further help.

If you need any more help with setting up a Minecraft server, then please make a post on r/MinecraftHelp where one of us will be happy to guide you through it.

Happy crafting folks!

Published inGuidesJavaMinecraft KB
%d bloggers like this: