Skip to content
CyberNex Logo
Back to Tutorials
VPS & Dedicated3 min readJuly 15, 2026

How to Create a Minecraft Server on a Windows VPS

Ganidu Sathishka
Support Engineer at CyberNex | 4+ years customer technical support

Step-by-Step Instructions

<ol><li>Log in to your Windows VPS via RDP.</li><li>Install Java JDK from the Oracle Java downloads page.</li><li>Download server.jar from the official Minecraft server page into a folder (for example C:\MinecraftServer).</li><li>Open cmd and run: cd C:\MinecraftServer then java -Xmx1024M -Xms1024M -jar server.jar nogui to generate config files.</li><li>Edit eula.txt and set eula=true.</li><li>Re-run the same java command to start the server.</li><li>Open Windows Firewall for inbound port 25565 and join via Multiplayer using your VPS IP.</li></ol>

Code / Configuration

<pre><code>cd C:\MinecraftServer java -Xmx1024M -Xms1024M -jar server.jar nogui</code></pre>

Warning

The server stops when you close the cmd window. Use a tool like NSSM or a scheduled task to keep it running after logout.

Related Hosting Services

Was this guide helpful?

Join our Discord for more guides and direct help from our engineering team.

How to Create a Minecraft Server on a Windows VPS | CyberNex