To run a Minecraft server on a Windows VPS, install a compatible Java runtime, download the official Minecraft: Java Edition server JAR, launch it once to create eula.txt, accept the EULA, configure server.properties, and allow the server port through both your VPS firewall and Windows Defender Firewall. Players then join with the VPS public IP address or DNS name using a matching Java Edition release.
Godlike.Host offers hosted Minecraft Java servers with its own game panel, SFTP access and free DDoS protection, if you would rather not host it yourself.
What this setup supports
This procedure is for Minecraft: Java Edition running on a Windows VPS. It does not make a Bedrock server, and a Java client cannot join a Bedrock server simply because both use the Minecraft name. Every player needs the Java Edition client and a release compatible with the server JAR you installed.
As an Amazon Associate I earn from qualifying purchases.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minuteA VPS is useful when the world must remain online without leaving your home computer running. The VPS must have administrator-capable access, a public IPv4 address or DNS name, and a provider network policy that permits inbound traffic on the port you choose. The provider may also place an external firewall or security group in front of the virtual machine, so opening only Windows Firewall is not enough.
| Requirement | Why it matters |
|---|---|
| Windows administrator access | Needed to install Java, update Windows, and create firewall rules. |
| Compatible Java runtime | The server JAR will not launch without Java available to the command line. |
| Official, versioned server JAR | The JAR determines the Minecraft release and its Java compatibility. |
| Public VPS endpoint | Friends outside the VPS network need an address they can reach. |
| Provider and Windows firewall rules | Both network layers must permit the configured Minecraft port. |
| Resources sized for your workload | Player count, view distance, world generation, and mods affect CPU, memory, and storage demand. |
Prepare the Windows VPS
Use an administrator-capable account
Sign in with an account that can install software and change firewall settings. Apply current Windows updates and restart if Windows requests it. An up-to-date operating system reduces avoidable compatibility and security problems before you expose a public service.
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
Confirm the public endpoint
Find the VPS public IP address in the provider console or Windows network information. If you use a DNS name, verify that it resolves to the VPS address. A private address such as a local 10.x, 172.16–31.x, or 192.168.x address is not a usable public destination for friends on the internet.
Check the provider’s inbound policy
Some VPS services require an inbound rule in a provider dashboard, often called a security group, network firewall, or cloud firewall. Confirm that the provider permits inbound traffic on the port you plan to use and that your account is allowed to create the rule. Keep the Windows Firewall enabled; Microsoft warns that turning it off can make the device more vulnerable to unauthorized access.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Choose resources by workload, not a universal formula
There is no official one-size-fits-all RAM number for Minecraft servers. A small vanilla world with a few players has different needs from a heavily modded world or a server with high view distance and frequent exploration. Start with a plan that gives you administrator access, fast enough single-thread CPU performance, adequate RAM and storage, backups or snapshots, and a straightforward upgrade path. Monitor actual CPU, memory, disk, and network use after players join.
Install Java on Windows
Install Microsoft OpenJDK with WinGet
Microsoft’s Windows Java guidance recommends Microsoft Build of OpenJDK or Eclipse Temurin. Open a new PowerShell window as an administrator and run:
winget install Microsoft.OpenJDK.21
OpenJDK 21 is an LTS release and is the package shown in Microsoft’s current Windows installation guidance. This does not mean every Minecraft release requires Java 21: the server download page and release notes remain the authority for the JAR you selected. If that JAR specifies another compatible major version, install that version instead.
Verify Java from a fresh terminal
Close the terminal, open a new PowerShell or Command Prompt window, and run:
java -version
The command should print a Java version rather than an error. Minecraft’s setup guidance specifically uses java -version as the check that Java is installed. A fresh terminal matters because an existing window may not have received the updated system environment.
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
Fix PATH or JAVA_HOME when needed
If Windows says that java is not recognized, first open another new terminal and repeat the check. If it still fails, inspect the installation location and environment variables. Microsoft documents setting JAVA_HOME to the JDK directory and adding %JAVA_HOME%bin to the system Path. After changing either variable, open a new terminal before testing again.
Microsoft also publishes Windows x64 EXE, MSI, and ZIP packages for OpenJDK LTS releases, including 21. Use one installation method consistently; multiple Java installations can make troubleshooting harder because the command line may find a different copy than the one you intended.
Download and organize the official server JAR
Create a dedicated folder
Create a folder such as C:MinecraftServer. Keeping the JAR, world files, logs, configuration, and backups together makes permissions, upgrades, and recovery easier. Avoid placing the server in a temporary download folder or inside a personal profile that may be cleaned up.
Use the official Java server download page
Download the server JAR from Minecraft’s official Java server download page. That page states that the procedure is for Java Edition and that a compatible Java Runtime Environment is required to launch the .jar file. Copy the exact current filename into C:MinecraftServer; do not assume that an old filename remains valid after a release changes.
Your command will therefore use the actual downloaded name, in this form:
minecraft_server.<version>.jar
Do not rename the file unless you also update every launch script and instruction that refers to it. Keeping the version in the filename makes it clear which release is installed and avoids accidentally launching a different JAR during an upgrade.
Launch once and accept the EULA
Run the first launch from the server folder
Open PowerShell or Command Prompt, change to the server directory, and launch the JAR without the graphical server window:
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallRank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
cd C:MinecraftServer
java -jar minecraft_server.<version>.jar nogui
Replace the code-formatted filename with the exact name you downloaded. On the first run, Minecraft creates its initial files and stops with a message explaining that you must agree to the EULA. This stop is expected; it does not indicate a broken Java installation.
Review and edit eula.txt
Open the newly created eula.txt in a text editor. Review the linked Minecraft terms, then change only the setting from:
eula=false
to:
eula=true
Save the file in the same folder. Do not add quotation marks or alter the setting name. Accepting the EULA is a prerequisite for running the server, not an optional launch switch.
Understand the generated files
The first run also creates server.properties and the initial world directory. Treat the world directory as valuable data. Stop the server cleanly before copying it, and use provider snapshots or another backup process if the world would be difficult to recreate.
Recommended Free Tools
Configure server.properties
Open C:MinecraftServerserver.properties as plain text. The file is read when the server starts, so stop the server before editing it and relaunch after saving. Property names and available options can vary by Minecraft release; preserve the spelling and format already present in your file.
| Setting | What to review | Practical guidance |
|---|---|---|
server-port |
The TCP port used by players | Use 25565 unless you have a reason to choose another port. Any custom value must be opened in both firewalls and supplied to players. |
query.port |
The query port, where applicable to the release | 25565 is the documented default query port in Minecraft’s setup guidance. Check the properties generated by your exact JAR. |
max-players |
Maximum simultaneous players | Set a number your VPS can support. Minecraft’s guide says to consider this alongside available RAM rather than treating it as an isolated limit. |
gamemode |
Default game mode | Choose the mode you want new players to receive, using the value format shown in your file. |
difficulty |
World difficulty | Set the desired difficulty before inviting players if the world should start with a specific rule set. |
motd |
Message displayed in the multiplayer list | Use it for the server name, schedule, or a short rule reminder. |
level-seed |
World-generation seed | Enter a chosen seed before the first world is generated if you need reproducible terrain. Changing it later does not rebuild an existing world. |
server-ip |
Optional network binding | Leave it blank unless you have a specific, documented binding requirement. Binding the wrong address can prevent startup or stop clients from connecting. |
Change only settings you understand, save the file, and keep a backup before major edits. If the server stops immediately after a change, restore the last known-good file and inspect the console for the property that caused the problem.
Open the Minecraft port through both firewalls
Choose the port
For a standard Java setup, use TCP port 25565. Minecraft’s official download information gives 25565 as the example Java port for outside connections. If you change server-port, use that new number everywhere instead; players must include the non-default port in their server address.
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
Create the provider-side rule
In the VPS provider console, open the network firewall, security-group, or inbound-rules page. Add an inbound TCP rule for the configured port. Restrict the source to known player IP ranges only if your group has stable addresses; otherwise, allow the internet and rely on the Minecraft server’s authentication and account controls while monitoring the service. Confirm that the rule applies to the specific VPS, not merely to a project or unused template.
Create the Windows Defender Firewall rule
On the VPS, open Windows Defender Firewall with Advanced Security. Select Inbound Rules, choose New Rule, select Port, choose TCP, enter the configured local port, and allow the connection for the profiles that apply to the VPS network. Give the rule a clear name such as “Minecraft Java server TCP 25565.” Microsoft supports allowing a specific port or application and advises against disabling the firewall entirely.
If Windows displays a network-profile choice, select only the profiles you actually use. A narrowly scoped inbound rule is safer and easier to audit than turning off filtering for the whole machine.
Check for a listening service
Start the server before testing from outside. A firewall rule cannot help if no process is listening on the port. Test first from another network, such as a friend’s connection or a mobile hotspot; testing from the VPS itself can succeed even when the provider firewall still blocks public traffic.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Start the server and connect from Minecraft
Relaunch after accepting the EULA
From C:MinecraftServer, run the same command again:
java -jar minecraft_server.<version>.jar nogui
Watch the console until it reports that startup is complete and the server is ready for commands. Keep that console window open while testing. Closing it normally terminates the Java process and takes the world offline.
Use a matching Java Edition client
On a computer running Minecraft: Java Edition, open Multiplayer, choose Add Server or Direct Connection, and enter the VPS public IP address or DNS name. Java players must join a Java server, and the client release must be compatible with the server release. If the configured port is not 25565, append it after a colon, for example example.dns.name:25570. With the standard port, the plain address is normally sufficient.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
Protect operator access
Do not share the VPS administrator password or grant operator privileges casually. Minecraft account authentication, strong Windows credentials, limited firewall exposure, and regular backups reduce the impact of mistakes or unauthorized access. Keep the server console available to the administrator who will handle updates and shutdowns.
Choose a Windows VPS that will not block the setup
If you are still selecting a VPS, compare the operational details below rather than choosing solely by advertised storage or a headline CPU count.
| Decision point | Questions to ask before purchasing |
|---|---|
| Monthly cost and Windows licensing | Is the Windows license included, and does the recurring price change after an introductory period? |
| CPU performance | What single-thread performance is available for the Minecraft tick loop and world generation? |
| RAM and storage | Can you increase memory and disk space as the world, player count, or mod workload grows? |
| Backups and snapshots | Can you create and restore snapshots independently of the server’s live disk? |
| Public networking | Do you receive a usable public IPv4 or IPv6 address, and can you create inbound rules? |
| DDoS and network policy | What traffic is filtered, and what happens if the server is targeted or exceeds a network limit? |
| Geographic location | Is the data-center region close enough to the players to keep latency acceptable? |
| Remote console access | Can you recover the machine if Remote Desktop or the Minecraft process stops responding? |
| Cancellation and upgrades | Can you resize or cancel without losing the world, and are backups downloadable? |
These are deployment requirements, not a promise that any particular provider will meet them. Verify the current plan terms, region, firewall controls, and licensing before ordering.
Troubleshoot the common failures
“java is not recognized”
- Close the current terminal and open a new PowerShell or Command Prompt window.
- Run
java -versionagain. - If it still fails, confirm that OpenJDK installed successfully and inspect
JAVA_HOMEand the systemPath. - Ensure
%JAVA_HOME%binpoints to the JDK’sbindirectory, then open another new terminal.
The server says the EULA must be accepted
Stop the process, open the generated eula.txt, review the terms, set eula=true, save the file, and run the JAR again from the same folder. Check that the file is not named eula.txt.txt and that you edited the copy in the active server directory.
The server runs on the VPS but friends cannot join
- Confirm the console reached the ready state.
- Check the JAR’s
server-portvalue and whetherserver-ipwas incorrectly filled in. - Confirm the provider security-group or external firewall rule uses the same TCP port.
- Confirm Windows Defender Firewall has an inbound rule for that port.
- Verify that players are using the VPS public IP or DNS name, not a private address.
- If the port is not 25565, make sure the client address includes
:port.
The client reports an incompatible version or edition
Check the server JAR filename and the version selected in the launcher. A Java client cannot join a Bedrock server, and a client on an incompatible release may be rejected by a Java server. Update the client or install the server JAR that matches the release your group intends to play.
The server stops, freezes, or lags
Inspect CPU, RAM, and disk usage while players are online. Reduce view distance or player count, and reassess the VPS plan for the actual world and mod workload. Do not treat an unverified player-to-RAM ratio as a rule; Minecraft’s official guidance does not publish a universal number. Back up the world before changing performance-related settings.
The firewall test works locally but not externally
A local connection proves only that the process is running and Windows permits it. Repeat the test from a separate internet connection, then inspect the provider’s external rule, the public address, and any provider-level network policy. If you changed the port, verify that the old port is not the one being tested.
Updating or moving the server safely
Before changing Minecraft or Java versions, stop the server cleanly and create a provider snapshot or a separate copy of the world and configuration. Record the exact JAR filename, Java version shown by java -version, and any properties you changed. Download the new official JAR into a separate folder or keep the old JAR until the new release starts successfully. Never assume that a JAR from one release will continue to work with an unrelated Java major version; check the current official download information for compatibility.
After an upgrade, launch with nogui, watch the console for errors, and test joining with a matching Java client before inviting the full player group. Keep the previous working JAR and backup available until you have confirmed that the world loads and the network path still works.
Free tools Windows power users keep installed
One-click scans. No signup required.
Quick Recap
Final pre-invite checklist
- Windows is updated and you can administer the VPS.
- The VPS has a public IP address or DNS name.
java -versionworks in a new terminal.- The exact official server JAR is in the dedicated server folder.
- The first launch created
eula.txt, and you seteula=trueafter reviewing the terms. server.propertieshas the intended port and gameplay settings, withserver-ipleft blank unless a documented binding requires it.- The same TCP port is allowed by the provider firewall and Windows Defender Firewall.
- The server console reaches the ready state.
- At least one Java Edition client on a compatible release can connect using the public endpoint.
- A backup or snapshot exists before regular play begins.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




