To answer how make a minecraft server, choose Java or Bedrock, download the matching official server software, place it in a dedicated folder, start it once, accept the EULA, configure the world, and share the server address. Java works on Windows, macOS, and Linux; Bedrock dedicated servers run on Windows or Linux. ([minecraft.net](https://www.minecraft.net/en-us/download/server))
How make a minecraft server: choose the right setup
Before downloading anything, decide which edition your players use and whether the server is private or public. The edition matters because Java and Bedrock servers use different software and are not automatically compatible with each other.
- Java Edition: Best for PC players, custom server software, plugins, modpacks, and advanced configuration.
- Bedrock Edition: Best when your group plays on Windows, Xbox, PlayStation, Nintendo Switch, or mobile.
- Private server: Keep access limited to your friends with an allowlist or private address.
- Public server: Let players outside your home network connect through a public address and a properly configured network.
Java players can connect with Java players on Windows, macOS, and Linux. Bedrock supports cross-play between Windows, consoles, and mobile devices, but a Java player cannot normally join a standard Bedrock server. ([help.minecraft.net](https://help.minecraft.net/hc/en-us/articles/360058534412-Minecraft-Java-Edition-vs-Bedrock-Edition?utm_source=openai))
What you need before creating the server
You can download the official server software for free, but hosting is not completely cost-free in practice. The computer must stay powered on while people play, and your internet connection, electricity, storage, and network equipment handle the workload. A hosted server or Realm costs money but avoids most home-network setup.
- A legally purchased copy of the relevant Minecraft edition for each player.
- A computer that can remain online while the server is running.
- A stable internet connection if people will connect from outside your home.
- Java installed for the Java Edition server.
- Windows or Linux for the Bedrock Dedicated Server.
- Enough storage for the server files, world saves, backups, and optional mods.
The official Java server requires a compatible Java runtime and runs from a server .jar file. The Bedrock Dedicated Server is distributed as a package that you unzip and run with the executable for your operating system. ([minecraft.net](https://www.minecraft.net/en-us/download/server))
How to make a Minecraft Java server on PC
1. Install Java
Install a current Java runtime that matches the server version you plan to use. Open Command Prompt on Windows or Terminal on macOS and Linux, then run java -version. If the command returns a Java version, the runtime is available from the command line.
If the command is not recognized, install Java or add its installation folder to your system PATH. The official server download page notes that Java may already be available from the command line on macOS and Linux, while Windows may require additional PATH configuration. ([minecraft.net](https://www.minecraft.net/en-us/download/server))
2. Download and organize the server files
- Create a folder named Minecraft Server somewhere easy to find, such as your desktop or a dedicated games folder.
- Download the Java Edition server .jar from the official Minecraft download page.
- Move the .jar file into the new folder.
- Rename the file to something simple such as server.jar, if you want easier commands.
Keep the world saves, configuration files, logs, and server software in this same folder. Do not run the server from your Downloads folder if you want reliable backups and easy maintenance.
3. Start the server and accept the EULA
Open Command Prompt or Terminal in the server folder and start the file with a command like java -jar server.jar --nogui. The --nogui option runs the server without its graphical interface; removing it starts the graphical interface when supported. ([minecraft.net](https://www.minecraft.net/en-us/download/server))
The first launch creates configuration files and normally stops because the Minecraft EULA has not been accepted. Open eula.txt, change eula=false to eula=true only after reading and accepting the agreement, save the file, and start the server again.
4. Configure the world
The second launch generates the world and additional files. Stop the server using the console command stop before changing settings. Open server.properties in a text editor and adjust the options that match your group.
- motd: The message shown in the multiplayer server list.
- gamemode: The default mode, such as survival or creative.
- difficulty: Peaceful, easy, normal, or hard.
- max-players: The maximum number of connected players.
- pvp: Controls player-versus-player combat where the current server settings support it.
- white-list: Limits access to approved player names.
For a private server, enable the allowlist or whitelist and add players from the server console with the appropriate allowlist command. Test the world locally before inviting anyone from outside your network.
How to make a Minecraft Bedrock server
Bedrock uses separate dedicated server software. Download the current Bedrock Dedicated Server package, choose the supported Windows or Linux download, accept the required terms, and extract the files into a new server folder. The official Bedrock package is not available for Mac. ([help.minecraft.net](https://help.minecraft.net/hc/en-us/articles/4408873961869-Minecraft-Dedicated-and-Featured-Servers-FAQ-?utm_source=openai))
- Download the Bedrock Dedicated Server package for Windows or Linux.
- Extract the archive into a folder with enough space for the world.
- Run the Bedrock server executable for your operating system.
- Allow the program through your firewall when your operating system asks.
- Open server.properties and set the world name, game mode, difficulty, player limit, and other preferences.
- Restart the server after making configuration changes.
Bedrock players on Windows, Xbox, PlayStation, Nintendo Switch, and mobile can play together when they connect through Bedrock-compatible multiplayer. A console can join a dedicated server, but the dedicated server software itself runs on a supported Windows or Linux computer. ([help.minecraft.net](https://help.minecraft.net/hc/en-us/articles/360058534412-Minecraft-Java-Edition-vs-Bedrock-Edition?utm_source=openai))
How to make a Minecraft server for friends
If everyone plays on the same home network, players can often connect using the host computer’s local IP address. For friends in another home, the server must be reachable from the internet.
Letting friends connect over the internet
- Give the host computer a stable local IP address through your router or network settings.
- Allow the server program through the computer’s firewall.
- Forward the server’s required port from your router to the host computer.
- Start the server and give friends the public IP address or a configured domain name.
- Tell players to use the correct edition and server version.
Java commonly uses port 25565. Bedrock uses its own default server ports, so check the Bedrock configuration and firewall rules rather than copying Java settings. The official download page warns that outside connections may require network configuration such as port forwarding. ([minecraft.net](https://www.minecraft.net/en-us/download/server))
Do not publish your public IP address widely. For a small private group, use an allowlist, share the address only with trusted friends, and back up the world before changing network or server settings.
Can you make a Minecraft server for free?
Yes. The official Java and Bedrock server software is free to download. A free self-hosted server still uses your own computer and internet connection, and it only stays online while the host machine and server process are running. ([minecraft.net](https://www.minecraft.net/en-us/download/server))
You have three common options:
- Self-hosting: No hosting subscription, but you manage the computer, backups, updates, firewall, and port forwarding.
- Realms: A simpler private option run by Minecraft, with a subscription and less technical setup.
- Third-party hosting: A remote server that can stay online without using your home computer, usually with free limits or paid plans depending on the provider.
For only a few local players, self-hosting is usually the cheapest approach. For a server that must stay online when you are away, a Realm or hosted server is easier than leaving a PC running all day.
How to make a modded Minecraft server
Modded servers are primarily a Java Edition setup. Vanilla server software does not load Forge, Fabric, NeoForge, or a modpack by itself. Choose the mod loader and Minecraft version first, then install the server files supplied by that loader or modpack.
- Choose a modpack or individual mods that use the same Minecraft version.
- Download the matching server pack or server installer from the mod platform or creator.
- Install the server into a separate folder from your vanilla world.
- Run the installer or startup script supplied with the pack.
- Accept the EULA when the server creates its configuration files.
- Install identical required mods and versions on every player’s client.
- Start the server, read the log for missing dependencies, and fix errors before inviting players.
Back up the world before adding, removing, or updating mods. A modded client and server must generally agree on the loader, Minecraft version, and required mods. Bedrock uses add-ons and behavior packs rather than the Java mod-loader system.
How to make a Minecraft public server
A public server needs more than an open port. You also need rules, moderation, backups, a clear server identity, and a plan for updates. Begin with a small private test, then expand only after the server remains stable for several play sessions.
- Use a memorable server name and message of the day.
- Protect administrator accounts and give operator permissions only to trusted people.
- Enable an allowlist while testing.
- Schedule regular world backups and keep copies outside the server folder.
- Set rules for griefing, cheating, harassment, and player disputes.
- Test how the server behaves after a crash or power outage.
- Keep the server software, mods, and client versions aligned.
If you run a public community, follow Minecraft’s usage and community guidelines. Do not present the server as official, redistribute game files, or use prohibited activities such as gambling or abusive content. ([help.minecraft.net](https://help.minecraft.net/hc/en-us/articles/4409161646989-Player-and-Server-Griefing-Issues-FAQ?utm_source=openai))
Common server problems and quick fixes
- Friends cannot connect: Check the public address, firewall, port forwarding, and whether the server process is running.
- Connection refused: Confirm that the server is listening on the expected port and that the player is using the correct edition.
- Version mismatch: Update the client or server so both use the same Minecraft release.
- Server crashes: Read the latest log, remove the most recently added mod or configuration change, and restore a backup if needed.
- Lag: Reduce view distance, lower the player limit, close unnecessary programs, and check the host computer’s memory and processor usage.
- World corruption or lost progress: Stop the server cleanly with stop and maintain several dated backups.
For the simplest private multiplayer experience, use Realms. For complete control over mods, plugins, files, and server rules, self-host Java on a PC or run the Bedrock Dedicated Server on supported Windows or Linux hardware.



