How to Make a Minecraft Server

Learn how to make a Minecraft server for Java and Bedrock editions. Set up your own multiplayer world to play with friends easily.

BothMedium15 minutes

Creating your own Minecraft server allows you to play with friends on a persistent world that stays online. Whether you are using Java or Bedrock Edition, setting up a multiplayer space lets you build, explore, and survive together. Before diving in, you can learn more about general multiplayer basics by checking out How to Play Multiplayer.

Be careful when sharing your public IP address with others. Only share it with trusted friends to keep your home network secure.
If your server runs out of memory or lags when multiple players join, you may want to read How to Allocate More RAM to Minecraft to improve performance.

1. Download the Official Server Software

For Java Edition, visit the official Minecraft website and download the official server .jar file. For Bedrock Edition, download the dedicated Bedrock Server software compatible with your operating system (Windows or Linux) from the official Minecraft downloads page.

2. Prepare the Server Folder and Accept the EULA

Create a dedicated folder on your computer for your server files and place the downloaded server software inside it. Run the server for the first time, and it will generate configuration files. For Java Edition, open the newly created eula.txt file in a text editor and change eula=false to eula=true to accept the End User License Agreement.

3. Configure Server Settings

Open the server.properties file using any text editor like Notepad. Here, you can customize various gameplay settings such as game difficulty, maximum player count, world seed, and whether PvP is enabled. Make sure your preferred settings are saved before relaunching the server.

4. Launch the Server and Connect

Start the server by running your startup script or executable file. Once the console indicates the server has finished loading and is running, open your Minecraft game. You can connect locally using localhost or your computer's IP address. If friends outside your local network want to join, you may need to learn the basics outlined in How to Join a Server.

5. Set Up Port Forwarding (Optional)

If you want players outside of your home Wi-Fi network to join your server, you will need to set up port forwarding through your router settings. Forward port 25565 for Java Edition or port 19132 for Bedrock Edition. Once configured, give your public IP address to your friends so they can connect.

Frequently Asked Questions

Can Java and Bedrock players play on the same server?

By default, no. Java Edition and Bedrock Edition use entirely different network protocols. To allow crossplay, advanced server software and plugins like GeyserMC must be installed on a Java server.

Do I need to leave my computer on for the server to stay online?

Yes. If you host the server on your personal computer, the server will only stay online and accessible while your computer is turned on and the server software is actively running.

You May Also Like