The fastest way to play Minecraft with friends
You can play Minecraft multiplayer three ways: join someone else's world, use Minecraft Realms (a subscription service), or run your own server. Running your own server gives you full control over the world, who joins, and what mods or rules you enforce. The easiest route for most people is Minecraft Realms, which costs about $8 per month and handles all the technical setup for you. If you want to host a server yourself on your computer or a rented machine, you will need to download server software, configure a few settings, and open your network to incoming connections.
Each path has a different cost and complexity. Realms requires no technical knowledge but costs money and does not support mods. A self-hosted server is free but only works when your computer is on, and your home internet speed limits how many players can join smoothly. A rented server from a hosting company costs $3 to $10 per month but runs 24/7 and handles all the network setup for you.
Key Takeaways
- Minecraft Realms is the simplest option for playing with friends — you pay a monthly fee and Microsoft handles all the server work for you.
- A self-hosted server on your own computer works only when your computer is running, and your internet speed will limit how many players can join smoothly.
- You can download free server software from minecraft.net, but you will need to configure port forwarding on your router so friends can connect from outside your home network.
- Rented server hosting from a third party removes the need to keep your computer on, but costs money and requires you to manage the server through a web panel.
- Java Edition and Bedrock Edition use different server software, so you must choose the version your friends play before you start.
Minecraft Realms: The no-setup option
Minecraft Realms is a subscription service run by Microsoft that creates a multiplayer world without you having to configure anything. You pay the monthly fee, invite up to ten friends, and they join through the game menu. Realms handles backups, updates, and server maintenance automatically. This is the best choice if you want to avoid technical setup entirely.
To start a Realm, open Minecraft, click "Realms" in the main menu, and select "Create New." Choose your subscription length (monthly or longer), name your world, and set the difficulty and game mode. Once it is active, you can invite friends by their Minecraft username or by sharing a join code. They will see the Realm in their own Realms menu and can enter whenever you want them to.
The main limitation is cost — Realms runs about $8 per month in the United States, though pricing varies by region. You also cannot install mods on a Realm, though you can use resource packs and datapacks. If you want a free server or need mod support, you will need to self-host or rent from a third party.
Self-hosting a server on your own computer
A self-hosted server runs on your personal computer and costs nothing beyond your internet bill. The trade-off is that your computer must stay on and connected to the internet for friends to play, and your home internet speed will limit how many players can join without lag. This works well for small groups of 2 to 4 players on a residential connection.
Start by downloading the server software from minecraft.net. Go to the Downloads page, select "Server," and download the .jar file for Java Edition. Create a new folder on your computer, move the .jar file into it, and run it. The first time you run it, the server will create a world and generate a file called "eula.txt." Open this file in a text editor, change "eula=false" to "eula=true," save it, and run the server again.
Once the server is running on your computer, friends on the same home network can join by opening Minecraft, clicking "Multiplayer," then "Add Server." They enter your computer's local IP address (find it by typing "ipconfig" in Command Prompt on Windows, or "ifconfig" on Mac) and a port number — the default is 25565. If they are outside your home network, you will need to set up port forwarding on your router, which is more complex and carries security risks if not done carefully.
Port forwarding to let friends join from outside your home
Port forwarding tells your router to send incoming connections on a specific port to your computer. This is necessary for friends outside your home network to reach your server, but it requires access to your router's settings and carries security risks if misconfigured.
Log into your router's admin panel — usually by typing 192.168.1.1 or 192.168.0.1 into a web browser. The username and password are often printed on the router itself or in your internet bill. Look for a section called "Port Forwarding" or "Virtual Server." Create a new rule that forwards port 25565 (or whatever port you chose) to your computer's local IP address on the same port. Save the settings and restart your router.
Once port forwarding is active, friends can join by entering your public IP address (find it by searching "what is my IP" in a browser) and the port number. Your public IP can change if your internet provider reassigns it, which will break the connection. Some routers let you set a static IP or use dynamic DNS to work around this, but both require additional setup.
Renting a server from a hosting provider
Renting a server from a hosting company removes the need to keep your computer on and handles port forwarding automatically. You pay a monthly fee — typically $3 to $10 depending on player count and server size — and manage the server through a web panel provided by the host.
Popular Minecraft hosting providers include Nitrado, Aternos, and GameServers. Most let you choose your server size (number of player slots), location, and Java or Bedrock Edition. After you pay, you receive login credentials for a control panel where you can start and stop the server, upload world files, install mods or plugins, and manage player permissions. Friends join using the server address provided by the host.
Aternos is free but shuts down the server after 30 minutes of inactivity — you or a friend must log in to restart it. Paid hosts keep the server running 24/7. If you want mod support, check whether the host allows it before signing up, because some restrict mods or charge extra for them.
Java Edition vs. Bedrock Edition servers
Minecraft Java Edition and Bedrock Edition use different server software and cannot play together. Java Edition runs on Windows, Mac, and Linux computers. Bedrock Edition runs on Windows 10/11, Nintendo Switch, PlayStation, Xbox, and mobile devices. You must choose which version your friends play before you set up a server.
Java Edition server software is free and widely available. Bedrock Edition is more limited — Microsoft does not release official server software for personal use, so you must use Realms or rent from a hosting provider that supports Bedrock. If your friends play Bedrock on console or mobile, Realms is usually the simplest path.
Check which version your friends own by looking at their game launcher or asking them directly. Java Edition shows "Minecraft: Java Edition" in the launcher. Bedrock shows "Minecraft" without "Java" and may say "for Windows 10" or the console name.
Basic server settings you should know
Once your server is running, you can configure settings in the "server.properties" file. This text file controls the game mode (Survival or Creative), difficulty level, whether PvP (player-versus-player combat) is allowed, and whether the world generates new terrain or uses an existing map. Open the file in any text editor, change the values you want, save it, and restart the server for changes to take effect.
Common settings include "gamemode=survival" or "gamemode=creative," "difficulty=2" (for Normal mode, scale is 0 to 3), and "pvp=true" or "pvp=false." You can also set a spawn point, enable command blocks, and configure how far the server renders terrain. The minecraft.net wiki has a full list of every setting and what each one does. If you are running a Java Edition server and want to add mods, you will need to install a mod loader like Forge or Fabric, then place mod files in the server's "mods" folder. Friends must install the same mods on their own computers to join.
Frequently Asked Questions
Can I play on my server while my friends are playing?
Yes. On a self-hosted server, you are playing from the same computer that is running the server, so you have a direct connection. On a rented server, you join the same way your friends do — by entering the server address in the multiplayer menu.
What happens to my world if I stop paying for Realms?
Microsoft keeps your world for 18 months after your subscription ends. You can download it and move it to a self-hosted server or a different Realm. After 18 months, the world is deleted if you have not reactivated the Realm.
Why is my server so laggy?
Lag usually comes from three sources: your internet upload speed is too slow, your computer is not powerful enough, or too many players are online. Check your upload speed (search "speed test" online) — you need at least 5 Mbps for smooth play with 4 players. If that is fine, close other programs on your computer or reduce the player limit in server.properties.
Do I need to open ports if I use Realms or a rented server?
No. Realms and rented servers handle all network setup on their end. You only need to open ports if you are self-hosting on your own computer and want friends outside your home network to join.
Can I move my world from one server to another?
Yes, but the process depends on which server types you are moving between. Most hosting providers let you download your world files and upload them to a new host. Moving from Realms to a self-hosted server requires downloading the Realm world through the Realms menu, then uploading it to your new server's world folder.