Hosting a Minecraft server on a Windows VPS allows you to create a private multiplayer world for your community or friends. This guide will walk you through installing, configuring, and optimizing a Minecraft server on a Windows Server VPS.
π Prerequisites
-
A Windows Server VPS (2016, 2019, or 2022) from VolticHost
-
Administrator access
-
At least 4GB RAM (8GB+ recommended for large servers)
-
Java installed (for Minecraft Java Edition)
-
Ports 25565 open in the firewall
1οΈβ£ Install Java (Required for Minecraft Java Edition Servers)
-
Download the latest Java JDK from:
π https://www.oracle.com/java/technologies/javase-downloads.html -
Run the installer and follow the setup process.
-
Verify installation by running:
java -version
β Java is now installed!
2οΈβ£ Download and Set Up the Minecraft Server
-
Create a folder for the server:
C:\MinecraftServer
-
Download the Minecraft server .jar file from:
π https://www.minecraft.net/en-us/download/server -
Place the server.jar inside
C:\MinecraftServer
. -
Open Notepad and create a new file.
-
Paste the following startup script:
@echo off java -Xmx4G -Xms4G -jar server.jar nogui pause
-
Save the file as start.bat inside
C:\MinecraftServer
.
β Minecraft server files are now set up!
3οΈβ£ Accept the EULA and Start the Server
-
Run start.bat by double-clicking it.
-
The server will close automaticallyβthis is normal.
-
Open eula.txt in
C:\MinecraftServer
. -
Change
eula=false
toeula=true
and save the file. -
Run start.bat again to start the server.
β Your Minecraft server is now running!
4οΈβ£ Open Port 25565 in Windows Firewall
-
Open Windows Defender Firewall (
Win + R
, typewf.msc
, press Enter). -
Click Advanced Settings β Inbound Rules β New Rule.
-
Select Port, then click Next.
-
Choose TCP, enter 25565, then click Next.
-
Select Allow the connection, then click Next again.
-
Apply to Domain, Private, and Public networks.
-
Name the rule Minecraft Server Port and click Finish.
β Your Minecraft server is now accessible online!
5οΈβ£ Connect to Your Minecraft Server
Find Your Public IP
To share your server with others, find your VPS public IP address:
ipconfig
Join the Server from Minecraft
-
Open Minecraft β Multiplayer.
-
Click Add Server.
-
Enter your VPS IP in the Server Address field.
-
Click Join Server.
β Players can now join your Minecraft world!
6οΈβ£ Automate Server Startup (Optional)
To start the server automatically when Windows boots:
-
Open Task Scheduler (
Win + R
, typetaskschd.msc
, press Enter). -
Click Create Basic Task (right panel).
-
Name it Start Minecraft Server β Click Next.
-
Select When the computer starts β Click Next.
-
Select Start a program β Click Next.
-
Browse to the start.bat file in
C:\MinecraftServer
. -
Click Finish.
β Your Minecraft server will now start automatically on reboot!
π Conclusion
You've successfully set up a Minecraft server on a Windows VPS! Your multiplayer world is now online, ready for friends, communities, or custom modding. π
For more assistance, contact VolticHost Support.
Optimized for Chatwoot Formatting
βοΈ No Code Blocks β Commands are inline to prevent pasting issues.
βοΈ Clear Step-by-Step Instructions β No unnecessary spacing or formatting conflicts.
βοΈ All Commands Easy to Copy β Works in all text-based editors.