Minecraft Server Hosting on Windows: Java, Bedrock & Education 2026

A Minecraft server in 2026 can be an official Realm, a temporary LAN or friend-hosted world, or dedicated server software running on your own computer. This guide covers Minecraft: Java Edition on Windows, Minecraft: Bedrock Edition on Windows and supported Bedrock devices, and Minecraft Education. Java and Bedrock players cannot join the same official server, so choose the edition before starting.

Minecraft-themed gaming setup with a village on-screen, server hardware, security icons, and player avatars.Choose the right server type​

Use this comparison before installing anything:
  • Realm: The simplest always-online option. Mojang hosts it, but it requires a subscription.
  • LAN world: Free and suitable for players on the same local network. The host must keep the world open.
  • Bedrock friend-hosted world: Free online play for invited Bedrock friends. The host must remain in the world.
  • Java dedicated server: A self-hosted, always-available Java Edition world with configurable files, access lists, operators, and networking.
  • Bedrock Dedicated Server: A self-hosted Bedrock world for supported Windows or Ubuntu systems.
  • Minecraft Education hosting: Use Join Codes for temporary peer hosting or the dedicated-server feature for a persistent institutional server.
Before proceeding, confirm that:
  • Everyone uses the same Minecraft edition and a compatible game version.
  • Console players have the required platform multiplayer subscription.
  • Microsoft account multiplayer permissions are enabled.
  • The server computer has a stable network connection.
  • You can administer the Windows firewall and, for internet hosting, the router.

Create a Realm for the easiest always-online server​

A Realm is the best option when you do not want to maintain a computer, configure a firewall, or forward router ports. Invited players can use the world while its owner is offline.

Create a Bedrock Edition Realm​

  1. Launch Minecraft and sign in with the Microsoft account that will own the subscription.
  2. Select Play.
  3. Select Create New.
  4. Select Create New World, or choose an available template.
  5. Configure the game and multiplayer settings.
  6. Select Create on Realms.
  7. Choose the available Realm size.
  8. Select Subscribe Now or start an offered trial.
  9. Enter the Realm name.
  10. Accept the displayed terms.
  11. Complete the purchase through the platform store.
To upload an existing Bedrock world:
  1. Select Play.
  2. Select the pencil Edit button beside the existing world.
  3. Review its game and multiplayer settings.
  4. Select Play on Realm.
  5. Select the Realm that will receive the world.
Warning: Uploading the world to an occupied Realm slot can replace the active world and its progress. Download or back up the existing Realm world first if you might need it again.
Invitations and member controls are available under Play > Realms > Realm Hub > Community > Members. Treat public invite links carefully: anyone who obtains a valid link may be able to request or gain access according to its settings.

Create a Java Edition Realm​

  1. Sign in to the Minecraft website with the Microsoft account that owns Minecraft: Java Edition.
  2. Open Realms.
  3. Select Buy Now beside the Java Realms subscription.
  4. Accept the Minecraft EULA.
  5. Complete the payment process.
  6. Start Minecraft: Java Edition.
  7. Select Minecraft Realms from the title screen.
  8. Configure the Realm, select or upload a world, and invite the required players.
Java Realms accept Java Edition players only. Bedrock players cannot connect to them.

Host a temporary Java LAN world​

Use Java LAN hosting when all players are on the same local network and the host will remain in the game.
  1. Start Minecraft: Java Edition.
  2. Create or load a single-player world.
  3. Press Esc.
  4. Select Open to LAN.
  5. Configure the game mode and command permissions.
  6. Select Start LAN World.
  7. Leave the world open while the other players connect.
  8. On each other Java computer, select Multiplayer and choose the discovered LAN world.
The server closes when the host exits the world. If Windows displays a firewall prompt, allow Java or the Java Platform binary on Private networks used by your trusted home network. Do not enable access on public networks unless it is specifically required and you understand the exposure.

Host a Bedrock LAN world​

Current Bedrock LAN controls are in the world’s Multiplayer settings. Older instructions referring to a separate Broadcast to LAN option may not match the current interface.
  1. Connect all devices to the same local network.
  2. Open Minecraft: Bedrock Edition and select Play.
  3. Select the pencil icon beside the world, or create a new world.
  4. Open the Multiplayer tab.
  5. Enable Multiplayer Game.
  6. Enable Visible to LAN Players.
  7. Select Play to open the world.
To join from another Bedrock device:
  1. Open Minecraft and select Play.
  2. Open the Worlds tab.
  3. Look for a world marked LAN.
  4. Select the world to join.
Mojang’s current LAN guidance notes that Bedrock may default to online play when the device has an active internet connection. If no LAN worlds appear, use the network control at the top of the Worlds tab to toggle the LAN-world display.

Invite Bedrock friends without Realms​

A regular Bedrock world can be shared online without buying Realms, but this is a hosted session rather than an always-on server.
  1. Sign in to Minecraft with a Microsoft account.
  2. Add the other players as Minecraft or Xbox friends.
  3. Select Play.
  4. Create a world or select the pencil icon beside an existing one.
  5. Open Multiplayer.
  6. Enable Multiplayer Game and choose the appropriate player-access setting.
  7. Start the world.
  8. Pause the game and open Social.
  9. Select or invite the players.
Friends can normally find the session under Play > Friends > Joinable Friends. The world becomes unavailable when the host leaves.
Bedrock Parties can also keep a group together when moving between supported multiplayer worlds. Parties are not themselves persistent servers, and platform support may differ, particularly on mobile devices.

Install a Java Edition dedicated server on Windows​

A dedicated server is appropriate when Java Edition players need persistent access and you are prepared to manage updates, backups, permissions, and network exposure.

Prepare Windows and Java​

  1. Create an empty folder such as:
    C:\MinecraftServer
  2. Download the current Java Edition server .jar from Mojang’s official Minecraft server download page.
  3. Save the file in the new server folder.
  4. Rename it to a simple name such as:
    server.jar
  5. Open Windows Terminal or Command Prompt.
  6. Verify that Java is available:
    java -version
If Windows reports that java is not recognized, install the Java version required by the current Minecraft server release and ensure its bin directory is available through the Windows PATH. The required Java release can change as Minecraft is updated, so use the requirement displayed for the current server download rather than an old third-party package.

Start the server​

  1. In File Explorer, open C:\MinecraftServer.
  2. Right-click an empty area and select Open in Terminal, or enter the folder with:
    cd /d C:\MinecraftServer
  3. Run the server:
    java -Xms2G -Xmx4G -jar server.jar nogui
    -Xms2G sets the initial memory allocation to 2 GB, while -Xmx4G allows up to 4 GB. Do not allocate most or all of the computer’s physical memory.
  4. Wait for the first run to create its configuration files and stop.
  5. Open eula.txt in Notepad.
  6. Read the Minecraft EULA.
  7. If you agree, change:
    eula=false
    to:
    eula=true
  8. Save and close the file.
  9. Run the start command again:
    java -Xms2G -Xmx4G -jar server.jar nogui
Leave out nogui if you specifically want the server’s graphical interface. The terminal method generally uses fewer resources and makes server messages easy to review.
When startup succeeds, the console eventually reports that the server is ready. Enter stop in the server console before closing the window; this gives the server an opportunity to save the world cleanly.

Create a reusable start file​

  1. Open Notepad.
  2. Enter:
    Code:
    [USER=35331]@echo[/USER] off
    java -Xms2G -Xmx4G -jar server.jar nogui
    pause
  3. Select File > Save As.
  4. Set Save as type to All files.
  5. Save the file as start-server.bat inside the server folder.
  6. Double-click it whenever you want to start the server.

Configure Java server access​

Stop the server before editing server.properties. Change only settings you understand, preserve the exact property-name format, and restart the server afterward.
Useful properties include:
  • max-players to limit simultaneous users.
  • server-port to select the listening port.
  • white-list to restrict access to approved players.
  • enforce-whitelist to enforce whitelist changes consistently.
  • online-mode to require normal account authentication.
Keep online-mode=true for a normal internet-facing server. Disabling account authentication is not a recommended fix for connection problems and makes player identity easier to impersonate.
After starting the server, enter these commands in its console:
Code:
whitelist on
whitelist add PlayerName
whitelist remove PlayerName
op PlayerName
deop PlayerName
Grant operator access only to trusted administrators. Operators can run powerful commands that affect players and the world.

Allow external Java connections safely​

Players on the server computer can test with localhost. Computers on the same network can use the host computer’s local IPv4 address, which you can find by running:
ipconfig
Look for IPv4 Address under the active Ethernet or Wi-Fi adapter.
For internet players, you will normally need to:
  1. Reserve a stable local IP address for the server computer in the router.
  2. Permit the server or Java through Windows Defender Firewall.
  3. Forward the configured server port from the router to the server computer.
  4. Give trusted players the public address and server port.
Warning: Port forwarding exposes a service on your home network to the internet. Enable the whitelist first, keep online-mode=true, update the server promptly, and forward only the required port. Do not place the computer in the router’s DMZ as a shortcut.
Router interfaces differ, so use the router manufacturer’s instructions for port forwarding. If the internet provider uses carrier-grade NAT or blocks inbound connections, ordinary port forwarding may not work; use Realms or a reputable hosted server instead.
To roll back internet exposure:
  1. Stop the Minecraft server.
  2. Delete the router’s port-forwarding rule.
  3. Remove any unnecessary inbound Windows Firewall rule.
  4. Restart the router if its interface requires it.

Install a Bedrock Dedicated Server on Windows​

Mojang supports the Windows Bedrock Dedicated Server on Windows 10 version 10.0.15063 or later and Windows Server 2016 or later. The listed baseline is a compatible Intel Core i3-3210, AMD A8-7600 APU, or equivalent, 4 GB RAM, broadband internet, and sufficient storage for the software and growing worlds.
  1. Create an empty folder such as:
    C:\BedrockServer
  2. Open Mojang’s official Bedrock Dedicated Server download page.
  3. Choose the Windows server package and accept the displayed license and privacy terms.
  4. Download the ZIP archive.
  5. Right-click the ZIP and select Extract All.
  6. Extract its contents into C:\BedrockServer.
  7. Run bedrock_server.exe.
  8. If Windows Defender Firewall prompts for permission, allow it on the required trusted network profile.
  9. Leave the console open while the server is running.
  10. Enter stop in the server console before closing it.
Edit the included server.properties file while the server is stopped. The downloaded package also contains current configuration documentation, which should take precedence over instructions written for older releases.
To restrict access, set:
allow-list=true
Restart the server, then use:
Code:
allowlist add GamerTag
allowlist remove GamerTag
Place a GamerTag containing spaces in quotation marks:
allowlist add "Gamer Tag"
If you manually edit allowlist.json, reload it from the server console with:
allowlist reload
For Ubuntu hosting, Mojang supports Ubuntu 22.04 LTS or later; other Linux distributions are not officially supported by the Bedrock Dedicated Server download page.

Set up Minecraft Education hosting​

Minecraft Education offers two different hosting models.

Host a temporary Join Code world​

  1. Open Minecraft Education and select Play.
  2. Select a world under My Worlds.
  3. Select Host.
For a new world, use Play > Create New > New, configure the world, and select Host. For a world already in progress, pause it, open Friends, select Start Hosting, and confirm. Share the displayed picture Join Code with the intended participants.
The host client must remain connected.

Create a persistent Education Dedicated Server​

Minecraft Education Dedicated Servers became available in 2026 and are separate from the consumer Bedrock server package. A tenant Global Administrator must enable the feature first. Eligible faculty users can then create and manage servers through the Dedicated Server Admin Portal.
The administrator or authorized teacher must:
  1. Confirm that Dedicated Servers and teacher management are enabled for the tenant.
  2. Verify the account has an eligible faculty license.
  3. Prepare a supported Windows, Windows Server, or Ubuntu host.
  4. Assign the host a stable IP address.
  5. Arrange any required firewall or router access with the network administrator.
  6. In the Admin Portal, select Add a Server.
  7. Enter the server IP address and port.
  8. Configure chat, optional chat logging, and world-generation settings.
  9. Download the configured Windows or Linux server package.
  10. Set the server name, optional passcode, enabled state, and broadcast setting.
  11. Extract the package.
  12. On Windows, run bedrock_server.exe.
  13. Complete authentication if prompted.
Minecraft Education clients add a non-broadcast server using its 12-character server ID. As of July 2026, Microsoft’s Education documentation says cross-tenant dedicated-server play is not yet available, despite configuration controls appearing in the portal.

Fix players being unable to join​

Work through these checks in order:
  1. Confirm the edition. Java players need a Java server; Bedrock players need a Bedrock world, Realm, or server.
  2. Update every client and server. Mismatched versions commonly prevent joining.
  3. Check whether the host is running. LAN, friend-hosted, and dedicated sessions disappear when their host or server process stops.
  4. Check Microsoft account permissions. A family organizer may need to allow joining multiplayer games, cross-network play, adding friends, and online communication.
  5. Restart Minecraft after permission changes. Account changes can take several minutes to propagate.
  6. Check console subscriptions. Console multiplayer may require Xbox Game Pass Core, Nintendo Switch Online, or PlayStation Plus.
  7. Test locally first. Connect using localhost on the server PC, then the local IPv4 address from another computer, and only then test the public address.
  8. Check Windows Firewall. Ensure the correct Java executable or Bedrock server is allowed on the active network profile.
  9. Check router forwarding. Confirm that the rule points to the server computer’s current local IPv4 address and configured port.
  10. Review the server console. Authentication failures, incompatible versions, malformed configuration files, and access-list rejections are usually recorded there.
A successful dedicated-server test should allow the host to connect locally, another device to connect over the LAN, and—only after deliberate firewall and router configuration—an approved external player to connect from outside the network.

References​

  1. Primary source: Technobezz
    Published: 2026-07-13T16:53:22.867000+00:00
  2. Related coverage: minecraft.net
  3. Related coverage: edusupport.minecraft.net
 

Back
Top