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
- Download here
- 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.

2 – Double click the forge installer to open it.

3 – Select “Install Server”

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

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

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

7 – Open your forge server folder and make a new text document called “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.

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

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

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

12 – Finally, double click start.bat to launch your 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!