Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

Yes—you can run Minecraft from your own Windows PC. Use Open to LAN or Bedrock’s Invite to Game for people in the same session, install the official Java or Bedrock Dedicated Server for a persistent server, or choose Realms if you want Microsoft to handle networking and uptime. Java and Bedrock use different server software and do not cross-play by default.

Choose the right method first

Method Best for Main limitation
Java Open to LAN Friends on the same home network The host must open the world; it is not an Internet server
Bedrock Invite to Game A quick Bedrock session Not a persistent dedicated server; the host generally needs to be in the world
Java Dedicated Server Java players who want control, commands, plugins or mods You manage networking, security, backups and the PC’s uptime
Bedrock Dedicated Server Bedrock players needing a persistent server Official downloads target Windows and Ubuntu, not macOS
Minecraft Realms Beginners who want an always-online world Paid, same-edition only and less customizable

Realms supports Java cross-play between Windows, macOS and Linux, while Bedrock Realms supports Bedrock devices; neither provides Java/Bedrock cross-play. See the official Realms page.

The easiest options: LAN and Invite to Game

Java: Open to LAN

  1. Open or create a Java world.
  2. Press Esc and select Open to LAN.
  3. Choose the game mode and whether commands are allowed.
  4. Select Start LAN World.
  5. Other Java players on the same network select the world under Multiplayer.

This does not make the world reachable by friends elsewhere on the Internet. The official walkthrough is on Minecraft’s multiplayer guide.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Bedrock: Invite to Game

  1. Open or create a Bedrock world.
  2. Open the in-game menu and select Invite to Game.
  3. Invite friends through their Microsoft/Xbox gamertags.

Use a dedicated server instead when the world must persist independently of a normal game session.

#1 Best Overall
Lenovo Legion Tower 5i – AI-Powered Gaming PC - Intel® Core Ultra 7 265F Processor – NVIDIA® GeForce RTX™ 5060 Ti Graphics – 16 GB Memory – 1 TB Storage – 3 Months of PC GamePass
  • EMPOWER YOUR PASSIONS ELEVATE YOUR GAME – Whether you’re dominating the leaderboard, streaming your gameplay live, or tackling creative projects, the Lenovo Legion Tower 5i is an expandable powerhouse ready for anything.
  • BEYOND FAST – The Intel Core Ultra 7 265F CPU is designed to give you the power boost you need to dominate the latest and most popular AAA games.
  • GAME CHANGER – The NVIDIA GeForce RTX 5060 Ti GPU is beyond fast for gamers and creators. Experience lifelike virtual worlds, ultra-high FPS gaming, revolutionary new ways to create, and unprecedented workflow acceleration.
  • BOLD DESIGN AND EFFORTLESS UPGRADE – The Legion Tower 5i’s transparent, tool-less side panel lets you easily upgrade and showcase your rig, while the customizable RGB lighting adds a personal touch to every session.
  • FUTURE-PROOF YOUR PASSIONS – The Legion Tower 5i delivers stutter-free gameplay, fast loading times, and seamless multitasking. It’s equipped with 16GB and expandable to 128GB of 5600MHz DDR5 memory.

Before installing a dedicated server

  • Confirm whether everyone uses Java Edition or Bedrock Edition.
  • Use the same Minecraft release on the server and every client. Snapshots and preview builds may not connect to ordinary releases.
  • Keep the host PC powered on, awake, connected and reasonably idle whenever people need access.
  • Have administrator access to Windows, its firewall and your router.
  • Choose a dedicated folder and make backups before changing versions or adding mods.
  • For Java, ensure Java is available from Command Prompt or PowerShell.

There is no universal RAM number. Player count, simulation distance, mods, entities, CPU, storage and what else the PC is doing all matter. The official Java command using 4 GB is an example, not a minimum requirement.

Run a Java server on Windows

1. Create a server folder and download the software

Create a folder such as C:MinecraftServer. Download the current official Java server and place the JAR in that folder. Rename it to server.jar if convenient. Check that Windows has not hidden extensions and created server.jar.jar. Mojang’s server software is for Java Edition only.

2. Check Java and launch once

Open PowerShell in the folder and run:

java -version
java -Xmx4G -Xms4G -jar server.jar nogui

If java is not recognized, install a compatible Java runtime/JDK, put it on Windows’ PATH as required by the official download instructions, then open a new terminal.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The first launch normally creates eula.txt, server.properties, world and logs, then stops because the EULA has not been accepted.

Rank #2
YAWYORE Gaming PC Desktop Computer AMD R5 5600GT 16GB 1TB NVMe Towers WiFi
  • Powerful Processor: AMD Ryzen 5 5600GT 3.6GHz (4.6GHz Turbo) 6-Core 12-Thread processor brings faster response time to easily handle multi-threaded tasks
  • Motherboard Specification: MSI A520M-A PRO motherboard provides reliable performance and expandability for your computing needs
  • Integrated Graphics: AMD Radeon Vega Graphics (CPU Integration) enables you to play 1080P mainstream games at quality frame rates
  • Memory and Storage: 16GB DDR4 3200MHz RAM paired with 1TB M.2 NVMe PCIe SSD for fast multitasking and quick data access
  • Power Supply: 550W 80PLUS Bronze certified power supply ensures stable and energy-efficient operation

3. Accept the EULA and start again

Open eula.txt, change:

eula=false

to:

eula=true

Save it only if you agree to the Minecraft EULA, then run the launch command again:

java -Xmx4G -Xms4G -jar server.jar nogui

Wait for the console to report that the server has finished starting. To shut down safely, type stop in the console; do not normally close the window or kill the process.

4. Test a local connection

On the host PC, connect to localhost or 127.0.0.1. Another computer on the same network should use the host’s private address, such as 192.168.1.25. Private addresses beginning with 192.168. or 10. are not addresses for remote friends on the Internet.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Configure the Java server

Stop the server before editing server.properties, then restart it afterward. A private survival server might include:

Rank #3
Lenovo Legion Tower 5i – AI-Powered Gaming PC - Intel® Core Ultra 7 265F Processor – NVIDIA® GeForce RTX™ 5070 Ti Graphics – 32 GB Memory – 1 TB Storage – 3 Months of PC GamePass
  • EMPOWER YOUR PASSIONS ELEVATE YOUR GAME – Whether you’re dominating the leaderboard, streaming your gameplay live, or tackling creative projects, the Lenovo Legion Tower 5i is an expandable powerhouse ready for anything.
  • BEYOND FAST – The Intel Core Ultra 7 265F CPU is designed to give you the power boost you need to dominate the latest and most popular AAA games.
  • GAME CHANGER – The NVIDIA GeForce RTX 5070 Ti GPU is beyond fast for gamers and creators. Experience lifelike virtual worlds, ultra-high FPS gaming, revolutionary new ways to create, and unprecedented workflow acceleration.
  • BOLD DESIGN AND EFFORTLESS UPGRADE – The Legion Tower 5i’s transparent, tool-less side panel lets you easily upgrade and showcase your rig, while the customizable RGB lighting adds a personal touch to every session.
  • FUTURE-PROOF YOUR PASSIONS – The Legion Tower 5i delivers stutter-free gameplay, fast loading times, and seamless multitasking. It’s equipped with 32GB and expandable to 128GB of 5600MHz DDR5 memory.
motd=My Minecraft Server
gamemode=survival
difficulty=normal
max-players=10
view-distance=10
simulation-distance=10
online-mode=true
white-list=true
server-port=25565

Property names and available settings can vary by version. Keep online-mode=true; disabling authentication is not a safe routine fix. Enable the whitelist and manage players from the console:

op PlayerName
whitelist on
whitelist add PlayerName
list
whitelist remove PlayerName
save-all
stop

Operator privileges can change or destroy the world, so grant them only to trusted people.

Let Java friends connect over the Internet

Starting the server only makes it run locally. Remote access requires all of the following:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Firewall rule: Allow Java/server traffic on the appropriate private network and port. Do not disable Windows Firewall wholesale.
  2. Stable local IP: Reserve the host PC’s address in the router’s DHCP settings, or configure a static address carefully.
  3. Router forwarding: Create a NAT, Port Forwarding, Virtual Server or Port Mapping rule. For the normal Java setup, forward TCP 25565 externally to TCP 25565 on the host PC’s private address. Confirm the actual server-port.
  4. Public address: Give outside players your public IP, optionally as public-ip:port when using a non-default port. Do not post it publicly.

If local play works but remote connections time out, investigate the path between your home and the Internet. Double NAT, a changing public address, an incorrect forwarding target, firewall rules and carrier-grade NAT (CGNAT) are common causes. CGNAT clues include a router WAN address that differs from your observed public IP or a private/shared WAN address. Ask the ISP for a public IPv4 address, use correctly configured IPv6, use a private overlay/tunnel, or choose Realms/hosting if forwarding is impossible.

Rank #4
YAWYORE Gaming PC, AMD Ryzen 7 5700X, GeForce RTX 5060 Desktop Computer
  • CPU: AMD Ryzen7 5700X (up to 4.6GHz) 8-Core 16-Thread to easily handle multi-line tasks
  • Main board: MSI B550M-A PRO motherboard provides reliable performance and stability
  • GPU: Geforce RTX 5060 8GB GDDR7 Graphics Cards (Brand may vary) Support DLSS 4 multi frame generation, ray tracing, and Reflex 2 delay optimization
  • RAM: 32GB DDR4 3200MHz (16GB*2) SSD: 1TB M.2 NVMe PCIe
  • Power supply: 650W (80plus bronze) certified for energy efficiency and stable performance

Run a Bedrock Dedicated Server

Download the current official Bedrock Dedicated Server. Mojang lists support for Windows 10 version 10.0.15063 or later, Windows Server 2016 or later and Ubuntu 22.04 LTS or later; the official download is not offered for macOS. Listed baseline hardware includes an Intel Core i3-3210, AMD A8-7600 or equivalent, 4 GB RAM and broadband Internet, but real needs vary.

  1. Extract the Windows package into a dedicated folder.
  2. Read its included “How to use the dedicated server” guide.
  3. Run the supplied server executable.
  4. Review server.properties and accept the EULA as required by the included files.
  5. Allow the executable through Windows Firewall.
  6. If remote players need access, forward the configured Bedrock port.

The commonly used default is 19132/UDP, but verify the generated property file, especially when running multiple servers. Bedrock players use Servers → Add Server, entering the server name, address and port. Console platforms can impose their own restrictions on adding external servers. Java clients cannot join this server by default.

Performance, updates and backups

  • Allocate only the memory the workload needs; leave RAM for Windows, the client and other applications. More heap is not automatically faster.
  • Lower view-distance and simulation-distance if CPU usage or tick performance suffers.
  • Control entity-heavy farms, redstone clocks, chunk loaders and uncontrolled mobs.
  • Watch CPU, memory, disk activity and upload bandwidth before blaming RAM.
  • Stop the server with stop before copying a clean backup.
  • Back up the entire server directory, including the world, configuration, whitelist and permissions files. Keep several dated backups and test restoring one.
  • Before an update or mod/plugin change, stop the server, make a backup, install the matching server version, then verify the world before inviting players.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting checklist

“java is not recognized”

Java is missing, not on PATH, or the terminal predates installation. Run java -version, install/configure Java, reopen the terminal and retry.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The server closes immediately

Read the console error. Check eula=true, the Java version, the exact JAR filename and that the command is running in the server folder.

Best Value
SKYESEV Prebuilt Gaming Desktop PC, AMD Ryzen 5 5600, GeForce RTX 3050 6GB,32GB DDR4 3200MHz RAM, 1TB NVMe SSD, ARGB Air Cooling, Wi-Fi,Tower Computer for Gaming, Streaming, Editing
  • Processor specifications: Adopting AMD Ryzen 5 5600 processor, with a basic clock speed of 3.5GHz and a turbo frequency of 4.4GHz, it can achieve fast response computing performance
  • Graphics Card: Features GeForce RTX 3050 graphics card with 6GB dedicated video memory for gaming and multimedia applications
  • Memory configuration: Equipped with 32GB DDR4 RAM (16GB * 2), providing sufficient memory capacity for multitasking and demanding applications
  • Gaming Performance: Designed to handle modern gaming titles and graphics-intensive tasks with smooth frame rates and visual quality
  • Desktop System: Complete gaming desktop computer system ready for setup and use out of the box

Connection refused or timed out

Confirm the server is running and listening on the configured port. “Refused” often means the wrong port or no service listening; “timed out” usually points to a firewall, forwarding, wrong public address, double NAT or CGNAT. Test in this order: host PC, another LAN computer, firewall, router forwarding, then ISP/NAT conditions.

Players cannot join after an update

Match the exact client and server release. Check that nobody is using a snapshot, preview build or incompatible mod/plugin, then restart the server.

The world is laggy

Check CPU, memory pressure, storage, upload speed, simulation distance, newly generated chunks, entities, redstone and mods/plugins. Raising RAM alone may not help.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When Realms is the better answer

Realms is Microsoft-hosted, always online and avoids router configuration. The official US listing currently shows Java Realms at $7.99 USD per month for the owner plus up to 10 simultaneous players; Bedrock plans and prices differ by plan and region. Invited friends do not need their own Realms subscription, and Realms includes backups. It is a poor fit for large communities, full operating-system control, unsupported modpacks or Java/Bedrock cross-play. It also does not run on your PC.

Final decision

  • Use LAN if everyone is in the same home and you want a free, quick session.
  • Self-host Java if all players use Java and you want maximum control.
  • Use Bedrock Dedicated Server if everyone uses Bedrock and you need a persistent world on supported Windows or Ubuntu.
  • Use Realms if convenience, backups and availability while you are offline matter more than cost and customization.

Keep Windows, Java and server software updated, use a whitelist, protect operator access, avoid questionable JARs and mods, and never expose router administration to the Internet. Minecraft’s official multiplayer guidance also recommends not sharing real names, locations, passwords or other personal details.

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.