Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk12 min

How to Host a Minecraft Server at Home (Java & Bedrock): Setup, Port Forwarding, Limits and Alternatives

Set up a Minecraft Java or Bedrock server at home, configure LAN or internet access, forward the right ports, secure your network, troubleshoot failures and choose between home hosting, Realms and managed hosting.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can host a Minecraft server at home for free with Mojang/Microsoft’s official Java or Bedrock server software, but it is not a one-click setup. Choose the edition first, install the matching server package, configure the world, and then decide whether players will connect only on your home network or from the internet. Internet play normally requires a stable private address for the host computer, router port forwarding, an operating-system firewall rule, and careful security practices.

Home hosting gives you control over files, worlds, settings and mods, while making you responsible for updates, backups, uptime, troubleshooting and exposure of your home network. For a small group that wants automatic backups and less administration, the official Realms service is easier; a managed third-party host is another option when you need more file control without maintaining a home router.

As an Amazon Associate I earn from qualifying purchases.

Choose the Minecraft edition before doing anything else

Edition compatibility is the first connection requirement. A Java Edition client joins a Java server, and a Bedrock Edition client joins a Bedrock server. Players must also use versions compatible with the server. A Java player cannot normally join a Bedrock Dedicated Server, or vice versa, without an additional compatibility layer that is outside the official setup described here.

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

Java Edition

Use the official Java server package when everyone will play Minecraft Java Edition on Windows, macOS or Linux computers. Java servers are the usual choice for PC communities that need extensive server-side configuration or Java mod and plugin ecosystems, although each mod or plugin has its own compatibility requirements.

#1 Best Overall
Minecraft | Java & Bedrock Deluxe Collection | Windows Digital Code
  • DELUXE COLLECTION — Includes Minecraft: Java & Bedrock Edition, three Bedrock add-ons, three exclusive Character Creator items, and 700 Minecoins.
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that’s unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world filled with surprises.
  • SURVIVE THE ADVENTURE — Face mysterious foes, travel across exciting landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play cross-platform with friends in Bedrock Edition on console, mobile, and PC, or join community servers in Java Edition on PC, Mac, and Linux. Online console multiplayer requires a platform-specific subscription (sold separately).

Bedrock Edition

Use the official Bedrock Dedicated Server when your group plays Bedrock Edition on supported PCs, consoles or mobile devices. Bedrock is the appropriate choice when cross-device Bedrock play is more important than Java-specific mods. Every connecting client still needs a compatible current version.

What you need for a home server

  • A host computer: It must be capable of running the server software and the world workload. The official guidance does not publish one universal RAM or CPU figure that guarantees a particular Java player count.
  • A compatible operating system and runtime: Java requires a compatible Java runtime. Bedrock’s getting-started guidance officially supports Windows 10 version 1703 or later, Windows Server 2016 or later, and Ubuntu Linux 18 or later.
  • A reliable network: Upload capacity, latency, data caps and your internet provider’s policy can limit multiplayer even when the server starts successfully. No universal bandwidth-per-player number is established by the official pages.
  • Storage for the world and backups: World files grow as players explore. Keep a separate backup before upgrades, major configuration changes or experiments.
  • Administrative access: You need permission to install software, change firewall rules and, for internet play, change the router configuration.
  • Time for maintenance: A home server is online only while the computer, power, router and internet connection remain available.

Do not buy hardware based on an advertised player count alone. The actual limit depends on simulation activity, view distance, entities, redstone or farms, loaded chunks, server settings, storage speed, CPU headroom and connection quality.

Set up a Java Edition server

  1. Install a compatible Java runtime. Use a runtime version supported by the Minecraft server release you intend to run. If the wrong runtime is installed, the server may fail before creating its files or may report an unsupported class-file version.
  2. Download the official Java server JAR. Save it from Minecraft’s official server-download page, then create a dedicated folder such as MinecraftServer. Keeping the server in its own folder makes backups, upgrades and permissions easier.
  3. Run the JAR from a terminal or command prompt. From the server folder, a standard launch form is java -jar server.jar nogui, replacing the filename if necessary. The first launch creates configuration files and normally stops while it prepares the directory.
  4. Handle the EULA step. Open the generated eula.txt, read the agreement and follow the official instructions before operating the server. Do not simply copy an acceptance value without understanding what it means.
  5. Start the server again and watch the console. Wait for the message indicating that the server has finished starting before attempting to connect. The console is also where shutdown commands, warnings and errors appear.
  6. Edit server.properties. Set the world name or seed, game mode, difficulty, player access and other options you actually need. Change one setting at a time and keep a copy of the file so you can identify which change caused a problem.
  7. Test locally first. On the same computer, connect to the local server address. From another device on the same home network, use the host computer’s private address. A local test separates Minecraft configuration problems from router and internet problems.

Java’s usual internet port

Minecraft’s current guidance identifies 25565 as the common Java server port for outside-LAN access. The number in server.properties, the operating-system firewall rule and the router forwarding rule must agree. If you deliberately choose another port, give players that port with the address and configure every layer consistently.

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

Set up a Bedrock Dedicated Server

  1. Download the official Bedrock Dedicated Server ZIP. Extract it into an empty, dedicated folder. Avoid mixing the files with unrelated worlds or applications.
  2. Confirm the supported platform. Microsoft’s getting-started guidance supports Windows 10 version 1703 or later, Windows Server 2016 or later, and Ubuntu Linux 18 or later. Follow the documented launch procedure for your platform rather than substituting an unofficial wrapper.
  3. Launch the server executable or documented Linux command. The first run creates the properties and world files. Keep the terminal or service output available while testing so you can see authentication, world-load and network errors.
  4. Allow the program through the operating-system firewall. Create rules for the configured Bedrock ports and the correct network profile. A router rule alone cannot make a blocked application reachable.
  5. Configure server.properties. Set the server name, game mode, difficulty, world, authentication mode, allow-list and player cap. Keep online-mode=true for an internet-facing server unless you have a specific, understood reason to change it.
  6. Use the allow-list for a private group. This prevents strangers who discover the address from joining. Add only the accounts you intend to host and test a permitted and a rejected player.
  7. Connect with Bedrock clients on a compatible version. A Java client will not join this server through the official setup.

Bedrock’s default ports and player setting

Microsoft documents 19132 for IPv4 and 19133 for IPv6 as the default Bedrock ports. Forward the address family and port you actually use, and match the values in the server configuration. The documented default for max-players is 10; Microsoft warns that higher values have a performance impact. That is a configuration default, not a promise that every home computer can serve ten active players smoothly.

Rank #2
Minecraft | Java & Bedrock Ultimate Collection | Windows Digital Code
  • ULTIMATE COLLECTION — Includes Minecraft: Java & Bedrock Edition, five Bedrock add-ons, five exclusive Character Creator items, and 1000 Minecoins.
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that’s unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world filled with surprises.
  • SURVIVE THE ADVENTURE — Face mysterious foes, travel across exciting landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play cross-platform with friends in Bedrock Edition on console, mobile, and PC, or join community servers in Java Edition on PC, Mac, and Linux. Online console multiplayer requires a platform-specific subscription (sold separately).

Make the server reachable: LAN versus internet

LAN-only play

For players in the same home or local network, do not expose the server to the internet. Give them the host computer’s private IPv4 address and configured port. A LAN test should work even if the router has no port-forwarding rule. If it does not, check that all devices are on the same network, the host is listening, the firewall permits the connection and the clients are using the matching edition and version.

Internet play

Players outside your home need a route through your router to the host computer. The usual sequence is:

  1. Give the host computer a stable private address, preferably through a DHCP reservation in the router. A changing private address can silently break an existing forwarding rule.
  2. Set the server to a known listening port. Java commonly uses 25565; Bedrock commonly uses 19132 for IPv4 and 19133 for IPv6.
  3. Create a router port-forwarding rule from the selected external port to the host computer’s private address and the same internal port. Select the correct protocol and address family shown by your server documentation and router.
  4. Permit the same port and application through the host operating system’s firewall. Restrict the rule to the needed network profile and protocol instead of disabling the firewall.
  5. Restart or reload the server and router rules if your equipment requires it.
  6. Test from a second device on a different network, such as a phone using cellular data. Testing from inside the same LAN can produce a false result on routers that do not support loopback.
  7. Share the public address and port privately with the people you trust. Do not publish it in a public post or server list.

Your public address can change when the provider reconnects you. If friends suddenly cannot connect after a modem restart, verify the current public address and the forwarding target before changing Minecraft settings.

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

Security precautions for a home-hosted server

Minecraft Help says that “changing your home network’s configuration … is not recommended unless you know what you are doing.” It also says, “we STRONGLY urge you to not give it out publicly and advertise with it as giving your public IP out publicly is a security risk to your home network.” Treat those warnings as operational requirements, not optional fine print.

Rank #3
Minecraft - Bedrock Edition PS4
  • Play and share with friends on console, mobile and Windows 10
  • discover community creations in the new in-game store
  • access new mini games and game modes through servers
  • Keep the operating system, Java runtime, Bedrock server package, router firmware and Minecraft clients updated.
  • Use the operating-system firewall and allow only the required server port.
  • Keep Bedrock authentication enabled for an internet-facing server and use an allow-list for a private group.
  • Do not run unrelated services on the same exposed computer. Use a separate account with only the permissions the server needs.
  • Back up the world while the server is stopped, or use a documented safe backup procedure. Keep at least one copy away from the host computer.
  • Stop the server when you are not using it. A powered-off or unforwarded server has a smaller exposure window.
  • Watch console logs and investigate repeated authentication failures, unexpected operators or unfamiliar files.
  • Never give friends router-administration credentials just so they can join Minecraft.

Port forwarding exposes a service, not your entire router by itself, but a vulnerable host or misconfigured rule can still create a path into the home network. If you cannot explain the router rule, firewall rule and server authentication setting, use a LAN-only setup or a managed service instead.

Understand capacity, performance and uptime limits

Player count is workload-dependent

There is no official universal Java RAM, CPU or bandwidth figure that translates directly into a guaranteed player count. Two worlds with the same number of players can impose very different loads: exploration generates chunks, farms create entities, redstone raises tick work, and high view or simulation distances keep more activity loaded. Connection latency and upload capacity affect how responsive the server feels even when its CPU is not saturated.

Bedrock publishes a default max-players value of 10 and warns that increasing it affects performance. Start with a small group, observe tick or console warnings, and increase the cap only after testing the actual world. A lower cap is preferable to accepting players the host cannot serve reliably.

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

Common signs that the host is overloaded

  • Blocks break late or reappear, mobs move in bursts, or players rubber-band.
  • The console reports delayed ticks, slow saves or repeated timeouts.
  • Chunk loading becomes slow when several players travel in different directions.
  • The computer becomes unresponsive because the server competes with games, browsers or other services.
  • Friends disconnect when uploads, backups or another household activity consumes the connection.

Reduce view and simulation distances, limit simultaneous exploration, remove runaway farms or entities, close competing applications and schedule backups for quiet periods. Hardware upgrades may help, but no upgrade guarantees a fixed player count without measuring the particular world and network.

Rank #4
Mattel Games UNO Minecraft Card Game with Storage Tin,Ages 7+ | Video Game Themed Deck with Special Rule for Kids, Teens, Parties & Family Game Night, 2-10 Players (Amazon Exclusive)
  • The classic UNO card game builds fun on game night with a Minecraft theme.
  • UNO Minecraft features a deck and storage tin decorated with graphics from the popular video game.
  • Players match colors and numbers to the card on top of the discard pile as in the classic game.
  • The Creeper card unique to this deck forces other players to draw 3 cards.
  • Makes a great gift for kid, teen, adult and family game nights with 2 to 10 players ages 7 years and older, especially Minecraft and video game fans.

Uptime and recovery

A home server stops when the host computer sleeps, reboots, loses power, crashes, loses internet access or changes its private address. Configure the computer not to sleep during scheduled play, but do not disable security updates indefinitely. Keep a written recovery plan: where the server files are, how to restore the latest world backup, which port is forwarded and which accounts are allowed.

Troubleshoot connection failures in the right order

Symptom Most likely checks
Everyone fails to connect, including the host Confirm the server process is running, the world finished loading, the edition and version match, and the local firewall allows the program.
The host can connect but another device on the LAN cannot Use the host’s private address, verify both devices are on the same network, check client isolation on the router and review the firewall profile.
LAN works but an outside friend cannot connect Recheck the stable private address, router destination, external and internal ports, protocol, firewall rule and the current public address. Test from a genuinely different network.
Only some players can join Check edition, client version, allow-list entries, authentication and whether the affected player is using the correct address family or port.
Players join but experience lag Measure host CPU, memory, disk activity and upload use while the world is busy. Lower simulation-heavy settings, reduce entities and stop competing network or computer workloads.
The server breaks after an upgrade Stop the server, restore the pre-upgrade backup, verify the runtime and extensions match the new version, then upgrade the world only after a copy is secured.

Do not troubleshoot router exposure before proving that the server works locally. Edition mismatches and a stopped process are more common than a defective port-forwarding rule.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Home hosting versus managed alternatives

Option Best for Control and administration Backups and uptime Main tradeoff
Home Java or Bedrock server Owners who want maximum control over worlds and configuration Full access to files and settings; you manage the runtime, firewall, router, updates and troubleshooting You create and verify backups; uptime depends on your computer, power, router and internet Security exposure and maintenance are your responsibility
Minecraft Realms Small Java groups wanting an official managed service Simple service workflow with service-specific limits rather than unrestricted server files Official Help describes automatic backups and up to 10 players for a personal server Subscription cost and Java-specific service boundaries
Realms Plus Small Bedrock groups wanting the managed Bedrock service Managed Bedrock environment with service-specific settings and limits Automatic-management features are handled by the service rather than your home computer Subscription cost and Bedrock-specific boundaries
Third-party managed host Groups needing more file or mod control without maintaining a home network Control, mod support and access vary by provider and plan Location, backup policy, support and uptime terms vary; verify them before subscribing Recurring cost, provider policies and less direct control over the underlying machine

When Realms is the better choice

Choose Realms or Realms Plus when the group is small, everyone uses the matching edition, and automatic backups and simple invitations matter more than custom server administration. You avoid port forwarding and the need to leave a home computer running. You also accept the service’s player, world, add-on and configuration limits.

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

When a managed host is the better choice

A managed host can fit a group that needs more control than Realms provides but does not want to expose a home network. Compare the provider’s current region, supported edition, mod or plugin policy, backup frequency, restore process, resource limits, cancellation terms and support response before moving a world.

Best Value
Mattel Games UNO Minecraft Card Game for Kids, Adults, Families & Parties, Deck & Special Rule Inspired by the Video Game, 2 to 10 Players
  • Now Minecraft lovers can play a special version of UNO!
  • Same as Basic UNO but features Minecraft characters and includes special Creeper rule card. Draw this card and the other players have to draw three more cards from the pile!
  • The goal is to get rid of all the cards in your hand.
  • First player or team to 500 wins.
  • When you're down to one card, don't forget to yell "UNO"!

Godlike.Host offers Minecraft Java, Bedrock and modded servers with its own game panel, SFTP/FTP access and up to three free backups a day with restore, so it can remove the need to maintain a home router.

When home hosting is worth the effort

Host at home when you understand router and firewall administration, can keep the machine and connection available during play, will maintain backups, and need direct control of the files. Start LAN-only if possible, then add internet access after local operation is reliable.

A practical operating checklist

  • Confirm Java or Bedrock and the exact compatible client version before inviting anyone.
  • Record the server folder, launch method, configured port and backup location.
  • Reserve the host’s private address before creating a forwarding rule.
  • Test locally, then from an outside network; do not assume a successful LAN test proves internet access.
  • Keep authentication enabled and use an allow-list for private play.
  • Back up before updates, version changes, major configuration edits and experiments.
  • Check console output and host resource use during the busiest expected session.
  • Remove the port-forwarding rule and stop the server if you no longer need internet access.

Bottom line

Home hosting is free in software cost but not effortless: Java needs a compatible runtime and EULA step, Bedrock needs its dedicated-server package, and internet play normally needs port forwarding and firewall configuration. Match the edition and version first, protect the private network, and judge capacity from the real world and workload rather than a guessed player number. If maintaining security, backups and uptime is more work than the group wants, Realms, Realms Plus or a carefully evaluated managed host removes most of that operational burden.

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.

Quick Recap

Bestseller No. 3
Minecraft - Bedrock Edition PS4
Minecraft - Bedrock Edition PS4
Play and share with friends on console, mobile and Windows 10; discover community creations in the new in-game store
$42.98
Bestseller No. 4
Mattel Games UNO Minecraft Card Game with Storage Tin,Ages 7+ | Video Game Themed Deck with Special Rule for Kids, Teens, Parties & Family Game Night, 2-10 Players (Amazon Exclusive)
Mattel Games UNO Minecraft Card Game with Storage Tin,Ages 7+ | Video Game Themed Deck with Special Rule for Kids, Teens, Parties & Family Game Night, 2-10 Players (Amazon Exclusive)
The classic UNO card game builds fun on game night with a Minecraft theme.; The Creeper card unique to this deck forces other players to draw 3 cards.
$11.46
Bestseller No. 5
Mattel Games UNO Minecraft Card Game for Kids, Adults, Families & Parties, Deck & Special Rule Inspired by the Video Game, 2 to 10 Players
Mattel Games UNO Minecraft Card Game for Kids, Adults, Families & Parties, Deck & Special Rule Inspired by the Video Game, 2 to 10 Players
Now Minecraft lovers can play a special version of UNO!; The goal is to get rid of all the cards in your hand.
$7.99

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

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

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.